@sentio/sdk
Preparing search index...
testing
MemoryDatabase
Class MemoryDatabase
Index
Constructors
constructor
Properties
_
schema
db
db
Context
last
Db
Request
Accessors
schema
store
Methods
delete
get
By
Id
has
Entity
reset
start
stop
upsert
Constructors
constructor
new
MemoryDatabase
(
dbContext
:
StoreContext
)
:
MemoryDatabase
Parameters
dbContext
:
StoreContext
Returns
MemoryDatabase
Properties
_
schema
_schema
:
GraphQLSchema
db
db
:
Map
<
string
,
Record
<
string
,
any
>
>
= ...
Readonly
db
Context
dbContext
:
StoreContext
last
Db
Request
lastDbRequest
:
undefined
|
DBRequest
Accessors
schema
get
schema
()
:
GraphQLSchema
Returns
GraphQLSchema
store
get
store
()
:
Store
Returns
Store
Methods
Protected
delete
delete
(
entity
:
string
,
id
:
string
)
:
void
Parameters
entity
:
string
id
:
string
Returns
void
Protected
get
By
Id
getById
(
entity
:
string
,
id
:
string
)
:
any
Parameters
entity
:
string
id
:
string
Returns
any
has
Entity
hasEntity
(
entity
:
string
,
id
:
string
)
:
any
Parameters
entity
:
string
id
:
string
Returns
any
reset
reset
()
:
void
Returns
void
start
start
()
:
void
Returns
void
stop
stop
()
:
void
Returns
void
Protected
upsert
upsert
(
entity
:
string
,
id
:
string
,
data
:
any
)
:
void
Parameters
entity
:
string
id
:
string
data
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
schema
db
db
Context
last
Db
Request
Accessors
schema
store
Methods
delete
get
By
Id
has
Entity
reset
start
stop
upsert
@sentio/sdk
Loading...