deno_mysql
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Charset
Connection
State
Server
Capabilities
Client
Connection
constructor
capabilities
config
server
Version
state
remote
Addr
close
connect
execute
query
Connnection
Error
Protocol
Error
Read
Error
Response
Timeout
Error
Write
Error
Client
Config
Transaction
Processor
Execute
Result
is
Debug
auth
caching
Sha2
Password
mysql
Native
Password
xor
Hierarchy
Connection
Index
Constructors
constructor
Properties
capabilities
config
server
Version
state
Accessors
remote
Addr
Methods
close
connect
execute
query
Constructors
constructor
new
Connection
(
config
:
ClientConfig
)
:
Connection
Parameters
config:
ClientConfig
Returns
Connection
Properties
capabilities
capabilities
:
number
= 0
config
config
:
ClientConfig
server
Version
server
Version
:
string
= ""
state
state
:
ConnectionState
= ConnectionState.CONNECTING
Accessors
remote
Addr
remote
Addr
:
Methods
close
close
(
)
:
void
Returns
void
connect
connect
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
execute
execute
(
sql
:
string
, params
:
any
[]
)
:
Promise
<
ExecuteResult
>
Parameters
sql:
string
Optional
params:
any
[]
Returns
Promise
<
ExecuteResult
>
query
query
(
sql
:
string
, params
:
any
[]
)
:
Promise
<
ExecuteResult
|
any
[]
>
Parameters
sql:
string
Optional
params:
any
[]
Returns
Promise
<
ExecuteResult
|
any
[]
>
Generated using
TypeDoc