# Functions
Dbr get dbr session from context.
Middleware inject dbr session to context.
New dbr.Session if optionalDSN is omited, mysql.dsn in config.yml will be used Supported config(config.yml): mysql.dsn - dsn for connection mysql.maxIdleConns - max idle connections for pool mysql.maxOpenConns - max open connections for pool.
# Variables
And creates AND from a list of conditions.
Eq is `=`.
Expr allows raw expression to be used when current SQL syntax is not supported by gocraft/dbr.
Gt is `>`.
Gte is '>='.
Like is `LIKE`, with an optional `ESCAPE` clause.
Lt is '<'.
Lte is `<=`.
Neq is `!=`.
NotLike is `NOT LIKE`, with an optional `ESCAPE` clause.
Or creates OR from a list of conditions.
Union builds.
UnionAll builds.