GoodDB
Preparing search index...
Drivers/YML
YMLDriver
Class YMLDriver
Implements
DriversClassType
Index
Constructors
constructor
Properties
options?
path
Methods
clear
create
Table
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
init
insert
read
set
Row
By
Key
tables
write
Constructors
constructor
new
YMLDriver
(
options
?:
YMLDriverOptions
)
:
YMLDriver
Parameters
Optional
options
:
YMLDriverOptions
Returns
YMLDriver
Properties
Optional
Readonly
options
options
?:
YMLDriverOptions
Readonly
path
path
:
string
Methods
clear
clear
()
:
boolean
Returns
boolean
create
Table
createTable
(
table
:
string
)
:
boolean
Parameters
table
:
string
Returns
boolean
delete
All
Rows
deleteAllRows
(
table
:
string
)
:
boolean
Parameters
table
:
string
Returns
boolean
delete
Row
By
Key
deleteRowByKey
(
table
:
string
,
key
:
string
)
:
number
Parameters
table
:
string
key
:
string
Returns
number
get
All
Rows
getAllRows
(
table
:
string
)
:
any
Parameters
table
:
string
Returns
any
get
Row
By
Key
getRowByKey
(
table
:
string
,
key
:
string
)
:
any
Parameters
table
:
string
key
:
string
Returns
any
init
init
(
table
:
string
)
:
void
Parameters
table
:
string
Returns
void
insert
insert
(
table
:
string
,
array
:
any
[]
)
:
boolean
Parameters
table
:
string
array
:
any
[]
Returns
boolean
read
read
()
:
any
Returns
any
set
Row
By
Key
setRowByKey
(
table
:
string
,
key
:
string
,
value
:
any
)
:
boolean
Parameters
table
:
string
key
:
string
value
:
any
Returns
boolean
tables
tables
()
:
string
[]
Returns
string
[]
write
write
(
data
:
any
)
:
boolean
Parameters
data
:
any
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
options
path
Methods
clear
create
Table
delete
All
Rows
delete
Row
By
Key
get
All
Rows
get
Row
By
Key
init
insert
read
set
Row
By
Key
tables
write
GoodDB
Loading...