Skip to main content

Databases

Create powerful queries and perform mutations on any database with the Squid Client SDK.

Squid lets you connect any database and interact with your data using the Squid Client SDK. Whether SQL or NoSQL, you can insert or update data and perform complex queries. You can even perform joins across database connectors, allowing you to connect completely separate data sources with a few lines of code.

The fundamentals

Connectors

You can work with Squid's built-in NoSQL database or an external database by adding it as a connector in your application.

Data organization

Data in Squid is organized through a structure of collections and documents. A collection can be thought of as a table in a SQL database, or a collection of documents in a NoSQL database. A document can be thought of as a row in a table for a SQL database, or a document in a NoSQL database. No matter the data source, you interact with your data using this same structure.

Learn more about collections and documents by reading the documentation on:

Querying and modifying data

To learn about building queries in Squid, view the following guides:

Inserting, updating, and deleting documents is simple using the Client SDK. Follow these guides to find out how to mutate your data:

Query with AI

Squid provides the capability to query any database through natural language using Query with AI. By asking a question about your data, Squid AI generates the query for you and provides the results. You can also use Query with AI to generate charts and graphs of your data, providing insights on the fly without the need to write complex data queries.

To learn more, view the Query with AI documentation.

Explore