Skip to content

META: complete-ORM roadmap — retire JsonQueryBuilder & raw SQL for consumers #71

Description

@teetangh

Goal (per Kaustav): the generated typed client covers every query the familiarise backends need — JsonQueryBuilder and hand-written SQL become internal implementation details, never consumer-facing.

Shipped in v0.6.0 (unreleased)

  • @map / @@map parsing + field→column translation in WHERE/INSERT/UPDATE/ORDER BY
  • @updatedAt auto-fill on create, refresh on update
  • BigInt @default model generation
  • Composite @@id delegate guard
  • enum[] / custom array decoding (binary + text wire formats)
  • One-to-one FK-on-target relation resolution (nested include fix)

Remaining (ordered by impact on the consuming app)

Out of scope for now

Views / composite types / multi-file schemas, MySQL & MongoDB adapters, middleware/$extends.

Consumer-side tracking: Practitionist/familiarise_mobile#106 (223 remaining JQB call sites migrate as these land).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions