Skip to content

Rewrite at compileTime #1

@georgelemon

Description

@georgelemon

Get mad with Macros. Use Nim macros to write SQL.

Example:

update User:
  @set:
    email = "new@example.com"
    status = true
  where(email == "old@example.com")
UPDATE users SET email = 'new@example.com', status = true WHERE email = 'old@example.com'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions