RetainedConnection abstract class
Use ConnectionPool.getConnection to get a connection to the database which isn't released after each query. When you have finished with the connection you must release it, otherwise it will never be available in the pool again.
abstract class RetainedConnection extends QueriableConnection { /** * Releases the connection back to the connection pool. */ Future release(); }
Extends
QueriableConnection > RetainedConnection
Methods
abstract Future<Query> prepare(String sql) #
inherited from QueriableConnection
Prepares a query with the given
sql. Returns a [Future
abstract Future<Results> prepareExecute(String sql, List<dynamic> parameters) #
inherited from QueriableConnection
abstract Future<Results> query(String sql) #
inherited from QueriableConnection