Connection
Iface
constructor
name
close
close_
finish
get_
connection_
string
get_
is_
opened
get_
parameters
get_
prepared_
query
get_
status
locale
open
open_
finish
open_
from_
string
open_
from_
string_
finish
parse_
string
parse_
string_
prepared
query_
from_
command
set_
parameters
value_
to_
quoted_
string
GJS API Reference
Vda-1
Vda
ConnectionIface
Class ConnectionIface
Hierarchy
ConnectionIface
Index
Constructors
constructor
Properties
name
Methods
close
close_
finish
get_
connection_
string
get_
is_
opened
get_
parameters
get_
prepared_
query
get_
status
locale
open
open_
finish
open_
from_
string
open_
from_
string_
finish
parse_
string
parse_
string_
prepared
query_
from_
command
set_
parameters
value_
to_
quoted_
string
Constructors
constructor
new
Connection
Iface
(
)
:
ConnectionIface
Returns
ConnectionIface
Properties
Static
name
name
:
string
Methods
close
close
(
_callback_
?:
AsyncReadyCallback
)
:
void
Parameters
Optional
_callback_:
AsyncReadyCallback
Returns
void
close_
finish
close_
finish
(
_res_
:
AsyncResult
)
:
void
Parameters
_res_:
AsyncResult
Returns
void
get_
connection_
string
get_
connection_
string
(
)
:
string
Returns
string
get_
is_
opened
get_
is_
opened
(
)
:
boolean
Returns
boolean
get_
parameters
get_
parameters
(
)
:
ConnectionParameters
Returns
ConnectionParameters
get_
prepared_
query
get_
prepared_
query
(
name
:
string
)
:
PreparedQuery
Parameters
name:
string
Returns
PreparedQuery
get_
status
get_
status
(
)
:
Vda
.
ConnectionStatus
Returns
Vda
.
ConnectionStatus
locale
locale
(
category
:
string
)
:
string
Parameters
category:
string
Returns
string
open
open
(
_callback_
?:
AsyncReadyCallback
)
:
void
Parameters
Optional
_callback_:
AsyncReadyCallback
Returns
void
open_
finish
open_
finish
(
_res_
:
AsyncResult
)
:
Vda
.
ConnectionStatus
Parameters
_res_:
AsyncResult
Returns
Vda
.
ConnectionStatus
open_
from_
string
open_
from_
string
(
cnc_string
:
string
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
cnc_string:
string
Optional
_callback_:
AsyncReadyCallback
Returns
void
open_
from_
string_
finish
open_
from_
string_
finish
(
_res_
:
AsyncResult
)
:
Vda
.
ConnectionStatus
Parameters
_res_:
AsyncResult
Returns
Vda
.
ConnectionStatus
parse_
string
parse_
string
(
sql
:
string
)
:
Vda
.
Query
Parameters
sql:
string
Returns
Vda
.
Query
parse_
string_
prepared
parse_
string_
prepared
(
name
:
string
, sql
:
string
)
:
PreparedQuery
Parameters
name:
string
sql:
string
Returns
PreparedQuery
query_
from_
command
query_
from_
command
(
cmd
:
SqlCommand
, name
?:
string
)
:
PreparedQuery
Parameters
cmd:
SqlCommand
Optional
name:
string
Returns
PreparedQuery
set_
parameters
set_
parameters
(
value
:
ConnectionParameters
)
:
void
Parameters
value:
ConnectionParameters
Returns
void
value_
to_
quoted_
string
value_
to_
quoted_
string
(
v
:
SqlValue
)
:
string
Parameters
v:
SqlValue
Returns
string
Connection
Iface
constructor
name
close
close_
finish
get_
connection_
string
get_
is_
opened
get_
parameters
get_
prepared_
query
get_
status
locale
open
open_
finish
open_
from_
string
open_
from_
string_
finish
parse_
string
parse_
string_
prepared
query_
from_
command
set_
parameters
value_
to_
quoted_
string
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJWZGFfMS5WZGEuQ29ubmVjdGlvbklmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IlZkYV8xLlZkYS5Db25uZWN0aW9uSWZhY2UuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpm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