lsync API
Preparing search index...
@lsync/server
applySQLiteJsonBatch
Function applySQLiteJsonBatch
applySQLiteJsonBatch
(
sql
:
SqlStorageLike
,
batch
:
{
updates
:
{
clientId
?:
string
;
collection
:
string
;
createdAt
:
number
;
id
:
string
;
key
:
string
|
number
;
path
?:
string
;
previousValue
?:
unknown
;
type
:
"insert"
|
"update"
|
"delete"
;
value
?:
unknown
;
}
[]
;
}
,
collections
?:
CollectionConfigs
,
)
:
void
Parameters
sql
:
SqlStorageLike
batch
:
{
updates
:
{
clientId
?:
string
;
collection
:
string
;
createdAt
:
number
;
id
:
string
;
key
:
string
|
number
;
path
?:
string
;
previousValue
?:
unknown
;
type
:
"insert"
|
"update"
|
"delete"
;
value
?:
unknown
;
}
[]
;
}
collections
:
CollectionConfigs
= {}
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
lsync API
Loading...