Skip to content

RED: Database Layer tests - CRUD and relationships #46

Description

@todo-mdx

Write failing tests for Database.do integration.

Test cases:

  • Schema generated from $.nouns() definitions
  • create() inserts record and returns typed result
  • get() retrieves by ID
  • update() modifies record
  • delete() removes record
  • list() returns all with pagination
  • find() queries with filters
  • search() does full-text search
  • semanticSearch() does vector search
  • Forward refs (->) resolve related entities
  • Fuzzy refs (~>) match or create
  • Back refs (<-) find linking entities
  • Batch loading prevents N+1
  • DBPromise pipelining works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions