Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 741 Bytes

readme.md

File metadata and controls

26 lines (20 loc) · 741 Bytes

ormin

Prepared SQL statement generator for Nim. A lightweight ORM.

Features:

  • Compile time query checking: Types as well as table and column names are checked, no surprises at runtime!
  • Automatic join generation: Ormin knows the table relations and can compute the "natural" join for you!
  • Nim based DSL for queries: No syntax errors at runtime, no SQL injections possible.
  • Generated prepared statements: As fast as low level hand written API calls!
  • First class JSON support: No explicit conversions from rows to JSON objects required.

Todo:

  • Add support for UNION, INTERSECT and EXCEPT.
  • Better support for complex nested queries.
  • Write mysql backend.

Copyright (c) 2017 Andreas Rumpf. All rights reserved.