Preparing search index...
The search index is not available
Deepkit
Deepkit
orm
GenericQueryResolver
Class GenericQueryResolver<T, ADAPTER, MODEL>
Abstract
Type Parameters
T
extends
object
ADAPTER
extends
DatabaseAdapter
=
DatabaseAdapter
MODEL
extends
DatabaseQueryModel
<
T
>
=
DatabaseQueryModel
<
T
>
Hierarchy
GenericQueryResolver
Index
Constructors
constructor
Properties
class
Schema
session
Methods
count
delete
find
find
One
Or
Undefined
patch
Constructors
constructor
new
Generic
Query
Resolver
<
T
,
ADAPTER
,
MODEL
>
(
classSchema
:
ReflectionClass
<
T
>
, session
:
DatabaseSession
<
ADAPTER
>
)
:
GenericQueryResolver
<
T
,
ADAPTER
,
MODEL
>
Type Parameters
T
extends
object
ADAPTER
extends
DatabaseAdapter
<
ADAPTER
>
=
DatabaseAdapter
MODEL
extends
DatabaseQueryModel
<
T
,
FilterQuery
<
T
>
,
Sort
<
T
,
any
>
,
MODEL
>
=
DatabaseQueryModel
<
T
,
FilterQuery
<
T
>
,
Sort
<
T
,
any
>
>
Parameters
classSchema:
ReflectionClass
<
T
>
session:
DatabaseSession
<
ADAPTER
>
Returns
GenericQueryResolver
<
T
,
ADAPTER
,
MODEL
>
Properties
Protected
class
Schema
class
Schema
:
ReflectionClass
<
T
>
Protected
session
session
:
DatabaseSession
<
ADAPTER
>
Methods
Abstract
count
count
(
model
:
MODEL
)
:
Promise
<
number
>
Parameters
model:
MODEL
Returns
Promise
<
number
>
Abstract
delete
delete
(
model
:
MODEL
, deleteResult
:
DeleteResult
<
T
>
)
:
Promise
<
void
>
Parameters
model:
MODEL
deleteResult:
DeleteResult
<
T
>
Returns
Promise
<
void
>
Abstract
find
find
(
model
:
MODEL
)
:
Promise
<
T
[]
>
Parameters
model:
MODEL
Returns
Promise
<
T
[]
>
Abstract
find
One
Or
Undefined
find
One
Or
Undefined
(
model
:
MODEL
)
:
Promise
<
undefined
|
T
>
Parameters
model:
MODEL
Returns
Promise
<
undefined
|
T
>
Abstract
patch
patch
(
model
:
MODEL
, value
:
Changes
<
T
>
, patchResult
:
PatchResult
<
T
>
)
:
Promise
<
void
>
Parameters
model:
MODEL
value:
Changes
<
T
>
patchResult:
PatchResult
<
T
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Generic
Query
Resolver
constructor
class
Schema
session
count
delete
find
find
One
Or
Undefined
patch
Generated using
TypeDoc