SurrealDB Integration
SurrealDB is a cloud-hosted NoSQL database.
To integrate SurrealDB to Windmill, you need to save the following elements as a resource.
Property | Type | Description | Required | Where to find |
---|---|---|---|---|
namespace | string | Namespace for the SurrealDB instance | true | SurrealDB Dashboard -> Namespaces |
database | string | Database name for the SurrealDB instance | true | SurrealDB Dashboard -> Databases |
scope | string | Scope of the SurrealDB instance | true | SurrealDB Dashboard -> Scopes |
user | string | Username for the SurrealDB instance | false | SurrealDB Dashboard -> Users |
pass | string | Password for the SurrealDB instance | false | SurrealDB Dashboard -> Users |
url | string | URL of the SurrealDB instance | false | Provided by SurrealDB when you create the instance |
Your resource can be used passed as parameters or directly fetched within scripts, flows and apps.
Example of a Supabase resource being used in two different manners from a script in Windmill.
tip
Feel free to create your own SurrealDB scripts on Windmill.