Expose a number of useful utility methods and macros.
This commit is contained in:
parent
d90372127b
commit
279d9aa7fd
@ -1,6 +1,6 @@
|
||||
# Package
|
||||
|
||||
version = "0.3.3"
|
||||
version = "0.3.4"
|
||||
author = "Jonathan Bernard"
|
||||
description = "Lightweight Postgres ORM for Nim."
|
||||
license = "GPL-3.0"
|
||||
|
@ -3,6 +3,14 @@ import db_postgres, macros, options, sequtils, strutils, uuids
|
||||
from unicode import capitalize
|
||||
|
||||
import ./fiber_orm/util
|
||||
export
|
||||
util.columnNamesForModel,
|
||||
util.dbFormat,
|
||||
util.dbNameToIdent,
|
||||
util.identNameToDb,
|
||||
util.modelName,
|
||||
util.rowToModel,
|
||||
util.tableName
|
||||
|
||||
type NotFoundError* = object of CatchableError
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user