Define Once, Use Everywhere
# schema.graphql - Your single source of truth
type User {
id: ID!
name: String!
email: String!
posts: [Post]
}- ✅ Automatic table creation from GraphQL types
- ✅ Relationship detection (
posts: [Post]→ foreign key + metadata) - ✅ Type validation at insert time
- ✅ Zero boilerplate - no C# table definitions needed
Full GraphQL Implementation
- ✅ Queries: Field selection, arguments, aliases
- ✅ Mutations: Create, update, delete operations
- ✅ Relationships: Automatic resolution with foreign keys
- ✅ Introspection:
__schemaand__typequeries - ✅ Error handling: GraphQL-compliant error responses
High-Performance Embedded Database
- ✅ Page-based storage: 4KB pages with efficient I/O
- ✅ MemTable buffer: 16MB write buffer for fast inserts
- ✅ Binary serialization: MessagePack for compact storage
- ✅ Memory management: ArrayPool and Span for zero-copy I/O
Multiple Index Types
- ✅ Hash indexes: O(1) primary key lookups
- ✅ B-tree indexes: Range queries and sorted scans
- ✅ Automatic indexing: Primary keys indexed automatically
- ✅ Multi-column support: Create indexes on any column
Prototype-Level Performance
- ✅ LRU page cache: Reduces disk I/O by 70-90%
- ✅ Batch loading: Eliminates N+1 query problems
- ✅ Zero-allocation lexer:
ref structtokenization - ✅ Lock-free reads: Minimized contention