Procs
proc getSqlDriver(name: static string = "main"): SqlDriver {.compileTime.}
-
Get the SQL driver type specified in static context, if any.
This is used by the query macros to determine which SQL syntax to generate based on the specified driver. If no static driver is specified, it defaults to PostgreSQL.
proc initStaticDriver(name: static string; driver: static SqlDriver) {. compileTime.}