What problem does it solve?
This Skill provides in-depth knowledge and practical solutions for working with SurrealDB, addressing complex queries, schema design, indexing strategies, and SDK usage.
Core Features & Use Cases
- SurrealQL Optimization: Understand and avoid common pitfalls in SurrealQL queries, including UPSERT behavior, HNSW index limitations, and compound OR clauses.
- Schema & Indexing: Learn best practices for defining schemas, HNSW and Fulltext indexes, and async events.
- Go SDK Usage: Master transaction management, error handling, and connection best practices for the SurrealDB Go SDK.
- Use Case: Debug a complex SurrealQL query that is unexpectedly failing due to a subtle parsing error or an incorrect index usage, and implement the correct pattern using the provided examples.
Quick Start
Use the surrealdb skill to explain the difference between UPSERT WHERE and CREATE/UPDATE patterns in SurrealDB.