Database

Constructors

this
this(string url)
Undocumented in source.
this
this(DatabaseOption options)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
closeConnection
void closeConnection(SqlConnection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
createQueryBuilder
QueryBuilder createQueryBuilder()
Undocumented in source. Be warned that the author may not have intended to support it.
execute
int execute(string sql)

return the count of affected rows.

getConnection
SqlConnection getConnection()
Undocumented in source. Be warned that the author may not have intended to support it.
getOption
DatabaseOption getOption()
Undocumented in source. Be warned that the author may not have intended to support it.
getTransaction
Transaction getTransaction(SqlConnection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
poolInfo
string poolInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
Statement prepare(string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
Statement prepare(SqlConnection conn, string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
query
RowSet query(string sql)
Undocumented in source. Be warned that the author may not have intended to support it.
relaseConnection
void relaseConnection(SqlConnection conn)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_options
DatabaseOption _options;
Undocumented in source.
_pool
Pool _pool;
Undocumented in source.

Meta