@sentio/sdk
Preparing search index...
.
DBRequest
Variable DBRequest
DBRequest
:
{
create
(
base
?:
{
delete
?:
{
entity
?:
string
[]
;
id
?:
string
[]
}
;
get
?:
{
entity
?:
string
;
id
?:
string
}
;
list
?:
{
cursor
?:
string
;
entity
?:
string
;
filters
?:
{
field
?:
string
;
op
?:
DBRequest_DBOperator
;
value
?:
{
values
?:
(...)
|
(...)
}
;
}
[]
;
pageSize
?:
number
;
}
;
opId
?:
bigint
;
update
?:
{
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
;
id
?:
string
[]
;
}
;
upsert
?:
{
data
?:
{
[
key
:
string
]:
any
}
[]
;
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
;
id
?:
string
[]
;
}
;
}
,
)
:
DBRequest
;
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
,
)
:
DBRequest
;
encode
(
message
:
DBRequest
,
writer
?:
Writer
)
:
Writer
;
fromJSON
(
object
:
any
)
:
DBRequest
;
fromPartial
(
object
:
{
delete
?:
{
entity
?:
string
[]
;
id
?:
string
[]
}
;
get
?:
{
entity
?:
string
;
id
?:
string
}
;
list
?:
{
cursor
?:
string
;
entity
?:
string
;
filters
?:
{
field
?:
string
;
op
?:
DBRequest_DBOperator
;
value
?:
{
values
?:
(...)
[]
}
;
}
[]
;
pageSize
?:
number
;
}
;
opId
?:
bigint
;
update
?:
{
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
undefined
|
{
op
?:
...
;
value
?:
...
}
}
;
}
[]
;
id
?:
string
[]
;
}
;
upsert
?:
{
data
?:
{
[
key
:
string
]:
any
}
[]
;
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
[]
;
id
?:
string
[]
;
}
;
}
,
)
:
DBRequest
;
toJSON
(
message
:
DBRequest
)
:
unknown
;
}
Type Declaration
create
:
function
create
(
base
?:
{
delete
?:
{
entity
?:
string
[]
;
id
?:
string
[]
}
;
get
?:
{
entity
?:
string
;
id
?:
string
}
;
list
?:
{
cursor
?:
string
;
entity
?:
string
;
filters
?:
{
field
?:
string
;
op
?:
DBRequest_DBOperator
;
value
?:
{
values
?:
(...)
|
(...)
}
;
}
[]
;
pageSize
?:
number
;
}
;
opId
?:
bigint
;
update
?:
{
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
;
id
?:
string
[]
;
}
;
upsert
?:
{
data
?:
{
[
key
:
string
]:
any
}
[]
;
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
;
id
?:
string
[]
;
}
;
}
,
)
:
DBRequest
Parameters
Optional
base
:
{
delete
?:
{
entity
?:
string
[]
;
id
?:
string
[]
}
;
get
?:
{
entity
?:
string
;
id
?:
string
}
;
list
?:
{
cursor
?:
string
;
entity
?:
string
;
filters
?:
{
field
?:
string
;
op
?:
DBRequest_DBOperator
;
value
?:
{
values
?:
(...)
|
(...)
}
;
}
[]
;
pageSize
?:
number
;
}
;
opId
?:
bigint
;
update
?:
{
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
;
id
?:
string
[]
;
}
;
upsert
?:
{
data
?:
{
[
key
:
string
]:
any
}
[]
;
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
[]
;
id
?:
string
[]
;
}
;
}
Returns
DBRequest
decode
:
function
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
)
:
DBRequest
Parameters
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
Optional
length
:
number
Returns
DBRequest
encode
:
function
encode
(
message
:
DBRequest
,
writer
?:
Writer
)
:
Writer
Parameters
message
:
DBRequest
Optional
writer
:
Writer
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
DBRequest
Parameters
object
:
any
Returns
DBRequest
fromPartial
:
function
fromPartial
(
object
:
{
delete
?:
{
entity
?:
string
[]
;
id
?:
string
[]
}
;
get
?:
{
entity
?:
string
;
id
?:
string
}
;
list
?:
{
cursor
?:
string
;
entity
?:
string
;
filters
?:
{
field
?:
string
;
op
?:
DBRequest_DBOperator
;
value
?:
{
values
?:
(...)
[]
}
;
}
[]
;
pageSize
?:
number
;
}
;
opId
?:
bigint
;
update
?:
{
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
undefined
|
{
op
?:
...
;
value
?:
...
}
}
;
}
[]
;
id
?:
string
[]
;
}
;
upsert
?:
{
data
?:
{
[
key
:
string
]:
any
}
[]
;
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
[]
;
id
?:
string
[]
;
}
;
}
,
)
:
DBRequest
Parameters
object
:
{
delete
?:
{
entity
?:
string
[]
;
id
?:
string
[]
}
;
get
?:
{
entity
?:
string
;
id
?:
string
}
;
list
?:
{
cursor
?:
string
;
entity
?:
string
;
filters
?:
{
field
?:
string
;
op
?:
DBRequest_DBOperator
;
value
?:
{
values
?:
(...)
[]
}
;
}
[]
;
pageSize
?:
number
;
}
;
opId
?:
bigint
;
update
?:
{
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
undefined
|
{
op
?:
...
;
value
?:
...
}
}
;
}
[]
;
id
?:
string
[]
;
}
;
upsert
?:
{
data
?:
{
[
key
:
string
]:
any
}
[]
;
entity
?:
string
[]
;
entityData
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
[]
;
id
?:
string
[]
;
}
;
}
Returns
DBRequest
toJSON
:
function
toJSON
(
message
:
DBRequest
)
:
unknown
Parameters
message
:
DBRequest
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@sentio/sdk
Loading...