Represents a connection like object that wraps a raw jdbc connection with some other data.
Represents a connection like object that wraps a raw jdbc connection with some other data.
(connection _)
Create or obtain existing connection
Create or obtain existing connection
Allows uniform database metadata extraction.
Allows uniform database metadata extraction.
(get-database-metadata _)
Get metadata instance.
Get metadata instance.
(execute q conn opts)
Execute a query and return a number of rows affected.
Execute a query and return a number of rows affected.
(fetch q conn opts)
Fetch eagerly results executing query.
Fetch eagerly results executing query.
Responsible of building prepared statements.
Responsible of building prepared statements.
(prepared-statement _ connection options)
Create a prepared statement.
Create a prepared statement.
Protocol that exposes uniform way to convert values obtained from result set to user types. Default implementation available for Object, Boolean, and nil.
Protocol that exposes uniform way to convert values obtained from result set to user types. Default implementation available for Object, Boolean, and nil.
(from-sql-type _ conn metadata index)
Convert sql type to user type.
Convert sql type to user type.
Protocol that exposes uniform way for convert user types to sql/jdbc compatible types and uniform set parameters to prepared statement instance. Default implementation available for Object and nil values.
Protocol that exposes uniform way for convert user types to sql/jdbc compatible types and uniform set parameters to prepared statement instance. Default implementation available for Object and nil values.
(as-sql-type _ conn)
Convert user type to sql type.
Convert user type to sql type.
(set-stmt-parameter! this conn stmt index)
Set value to statement.
Set value to statement.
(begin! _ conn opts)
Starts a transaction and return a connection instance.
Starts a transaction and return a connection instance.
(commit! _ conn opts)
Commits a transaction. Returns nil.
Commits a transaction. Returns nil.
(rollback! _ conn opts)
Rollbacks a transaction. Returns nil.
Rollbacks a transaction. Returns nil.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close