Liking cljdoc? Tell your friends :D

lib.jdbc.protocol


IConnectioncljprotocol

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.

-connectionclj

(-connection _)

Create or obtain existing connection

Create or obtain existing connection
raw docstring

IDatabaseMetadatacljprotocol

Allows uniform database metadata extraction.

Allows uniform database metadata extraction.

-get-database-metadataclj

(-get-database-metadata _)

Get metadata instance.

Get metadata instance.
raw docstring

IExecutecljprotocol

-executeclj

(-execute q conn opts)

Execute a query and return a number of rows affected.

Execute a query and return a number of rows affected.

IFetchcljprotocol

-fetchclj

(-fetch q conn opts)

Fetch eagerly results executing query.

Fetch eagerly results executing query.

IPreparedStatementcljprotocol

Responsible of building prepared statements.

Responsible of building prepared statements.

-prepared-statementclj

(-prepared-statement _ connection options)

Create a prepared statement.

Create a prepared statement.
raw docstring

ISQLResultSetReadColumncljprotocol

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-typeclj

(-from-sql-type _ conn metadata index)

Convert sql type to user type.

Convert sql type to user type.
raw docstring

ISQLTypecljprotocol

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-typeclj

(-as-sql-type _ conn)

Convert user type to sql type.

Convert user type to sql type.

-set-stmt-parameter!clj

(-set-stmt-parameter! this conn stmt index)

Set value to statement.

Set value to statement.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close