Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Araq/ormin
Ormin -- An ORM for Nim.
https://github.com/Araq/ormin
Last synced: 10 days ago
JSON representation
Ormin -- An ORM for Nim.
- Host: GitHub
- URL: https://github.com/Araq/ormin
- Owner: Araq
- License: mit
- Created: 2017-09-06T14:37:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-14T08:56:50.000Z (almost 3 years ago)
- Last Synced: 2024-10-14T15:03:51.191Z (25 days ago)
- Language: Nim
- Size: 186 KB
- Stars: 153
- Watchers: 14
- Forks: 18
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
- awesome-nim - ormin - Prepared SQL statement generator , A lightweight ORM. (Data / Database)
README
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.