Skip to content

Improved Static SQL #78

Closed
elcritch wants to merge 8 commits intoAraq:masterfrom
elcritch:static-sql
Closed

Improved Static SQL #78
elcritch wants to merge 8 commits intoAraq:masterfrom
elcritch:static-sql

Conversation

@elcritch
Copy link
Copy Markdown
Contributor

  • Adds static API variants of createTable and dropTable
  • Fixes table quoting (on postgres) in dropTable
  • Adds an opt-in static schema import path for importModel:
    importModel(..., includeStatic = true) now builds model metadata directly from
    the .sql file at compile time, exposes the raw SQL as a global sqlSchema, and avoids
    relying on a generated .nim model file. The default path still uses tools/ormin_importer,
    which now only handles normal file generation through the shared generator code.

@elcritch elcritch closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant