34 lines
611 B
ReStructuredText
34 lines
611 B
ReStructuredText
|
Fiber ORM
|
||
|
~~~~~~~~~
|
||
|
|
||
|
Lightweight ORM supporting the `Postgres`_ and `SQLite`_ databases in Nim.
|
||
|
It supports a simple, opinionated model mapper to generate SQL queries based
|
||
|
on Nim objects. It also includes a simple connection pooling implementation.
|
||
|
|
||
|
.. _Postgres: https://nim-lang.org/docs/db_postgres.html
|
||
|
.. _SQLite: https://nim-lang.org/docs/db_sqlite.html
|
||
|
|
||
|
Basic Usage
|
||
|
===========
|
||
|
|
||
|
Object-Relational Modeling
|
||
|
==========================
|
||
|
|
||
|
Model Class
|
||
|
-----------
|
||
|
|
||
|
Table Name
|
||
|
``````````
|
||
|
|
||
|
Column Names
|
||
|
````````````
|
||
|
|
||
|
ID Field
|
||
|
````````
|
||
|
|
||
|
Supported Data Types
|
||
|
--------------------
|
||
|
|
||
|
Database Object
|
||
|
===============
|