SurrealDB is an end-to-end cloud-native database designed for modern applications, including web, mobile, serverless, Jamstack, backend, and traditional applications. With SurrealDB, you can simplify your database and API infrastructure, reduce development time, and build secure, performant apps quickly and cost-effectively. Key features of SurrealDB include:This notebook shows how to use functionality related to theView the features, the latest releases, and documentation.
- Reduces development time: SurrealDB simplifies your database and API stack by removing the need for most server-side components, allowing you to build secure, performant apps faster and cheaper.
- Real-time collaborative API backend service: SurrealDB functions as both a database and an API backend service, enabling real-time collaboration.
- Support for multiple querying languages: SurrealDB supports SQL querying from client devices, GraphQL, ACID transactions, WebSocket connections, structured and unstructured data, graph querying, full-text indexing, and geospatial querying.
- Granular access control: SurrealDB provides row-level permissions-based access control, giving you the ability to manage data access with precision.
SurrealDBLoader.
Overview
The SurrealDB Document Loader returns a list of LangChain Documents from a SurrealDB database. The Document Loader takes the following optional parameters:dburl: connection string to the websocket endpoint. default:ws://localhost:8000/rpcns: name of the namespace. default:langchaindb: name of the database. default:databasetable: name of the table. default:documentsdb_user: SurrealDB credentials if needed: db username.db_pass: SurrealDB credentails if needed: db password.filter_criteria: dictionary to construct theWHEREclause for filtering results from table.
Document takes the following shape:
Setup
Uncomment the below cells to install surrealdb and langchain.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.