module PgORM::Database
Extended Modules
Defined in:
pg-orm/database.crClass Method Summary
- .adapter(builder : Query::Builder) : PostgreSQL
- .begin_transaction : DB::Transaction
- .checkout : DB::Connection
- .configure(&) : Nil
- .connection(&)
- .exec_sql(sql : String, *args_)
- .info : Info
-
.parse(uri : String | URI) : Nil
Parse a postgres connection string URL.
- .pool : DB::Database
- .quote(name : Symbol | String, io : IO)
- .quote(name : Symbol | String)
- .release : Nil
- .transaction(&)
- .with_connection(&)
Class Method Detail
def self.parse(uri : String | URI) : Nil
#
Parse a postgres connection string URL. This may come from an environment variable.