Preparing search index...
The search index is not available
Deepkit
Deepkit
sql
SQLConnection
Class SQLConnection
Abstract
Hierarchy
SQLConnection
Index
Constructors
constructor
Properties
connection
Pool
logger
released
stopwatch?
transaction?
Methods
exec
And
Return
All
exec
And
Return
Single
get
Changes
prepare
release
run
Constructors
constructor
new SQLConnection
(
connectionPool
:
SQLConnectionPool
, logger
?:
DatabaseLogger
, transaction
?:
DatabaseTransaction
, stopwatch
?:
Stopwatch
)
:
SQLConnection
Parameters
connectionPool:
SQLConnectionPool
logger:
DatabaseLogger
= ...
Optional
transaction:
DatabaseTransaction
Optional
stopwatch:
Stopwatch
Returns
SQLConnection
Properties
Protected
connection
Pool
connection
Pool
:
SQLConnectionPool
logger
logger
:
DatabaseLogger
= ...
released
released
:
boolean
= false
Optional
stopwatch
stopwatch
?:
Stopwatch
Optional
transaction
transaction
?:
DatabaseTransaction
Methods
exec
And
Return
All
exec
And
Return
All
(
sql
:
string
, params
?:
any
[]
)
:
Promise
<
any
>
Parameters
sql:
string
Optional
params:
any
[]
Returns
Promise
<
any
>
exec
And
Return
Single
exec
And
Return
Single
(
sql
:
string
, params
?:
any
[]
)
:
Promise
<
any
>
Parameters
sql:
string
Optional
params:
any
[]
Returns
Promise
<
any
>
Abstract
get
Changes
get
Changes
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
Abstract
prepare
prepare
(
sql
:
string
)
:
Promise
<
SQLStatement
>
Parameters
sql:
string
Returns
Promise
<
SQLStatement
>
release
release
(
)
:
void
Returns
void
Abstract
run
run
(
sql
:
string
, params
?:
any
[]
)
:
Promise
<
any
>
Runs a single SQL query.
Parameters
sql:
string
Optional
params:
any
[]
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
SQLConnection
constructor
connection
Pool
logger
released
stopwatch?
transaction?
exec
And
Return
All
exec
And
Return
Single
get
Changes
prepare
release
run
Generated using
TypeDoc
Runs a single SQL query.