const class slanRecord::ConnPool

sys::Obj
  slanRecord::ConnPool

connection pool

clear

Void clear()

close all connection and clear pool

close

Void close(SqlConn conn)

not actually close ,just push into pool

connectionStr

const Str connectionStr

The database specific string used to connect to the database.

log

const static Log log := ConnPool#.pod().log

Standard log for the sql service

make

new make(Str connStr, Str? username, Str? password)

makeConfig

new makeConfig(Pod pod, Str configPrefix := "")

open

SqlConn open()

pop from pool or open

openContext

Context openContext()

password

const Str? password

The password used to connect to this database.

username

const Str? username

The username used to connect to this database.