What problem does it solve?
This Skill addresses the complexity of efficiently using the @based/sdk/db package by providing clear guidelines on query optimization, data modeling, and leveraging the database's unique graph capabilities.
Core Features & Use Cases
- Query Optimization: Learn to avoid common performance pitfalls like table scans and leverage direct ID lookups and adjacency list traversals.
- Data Modeling: Understand how to effectively use references, edges, and aliases for scalable graph-based data.
- Advanced Features: Explore best practices for mutations, subscriptions, aggregations, and data types like
cardinality and text.
- Use Case: A developer needs to build a high-performance social graph application. This Skill guides them on structuring their data and queries to ensure rapid data retrieval and efficient updates.
Quick Start
Use the using-based-db skill to query for a user by their ID and include their friends' names.