Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
datastore
ModelSortPredicateCreator
Class ModelSortPredicateCreator
Index
Constructors
constructor
Methods
create
From
Existing
get
Predicates
is
Valid
Predicate
Constructors
constructor
new
Model
Sort
Predicate
Creator
(
)
:
ModelSortPredicateCreator
Returns
ModelSortPredicateCreator
Methods
Static
create
From
Existing
create
From
Existing
<
T
>
(
modelDefinition
,
existing
)
:
SortPredicate
<
T
>
Type Parameters
T
extends
Readonly
<
Record
<
string
,
any
>
>
Parameters
modelDefinition
:
SchemaModel
existing
:
ProducerSortPredicate
<
T
>
Returns
SortPredicate
<
T
>
Static
get
Predicates
get
Predicates
<
T
>
(
predicate
,
throwOnInvalid
?
)
:
SortPredicatesGroup
<
T
>
Type Parameters
T
extends
Readonly
<
Record
<
string
,
any
>
>
Parameters
predicate
:
SortPredicate
<
T
>
Optional
throwOnInvalid
:
boolean
Returns
SortPredicatesGroup
<
T
>
Static
is
Valid
Predicate
is
Valid
Predicate
<
T
>
(
predicate
)
:
predicate
is
SortPredicate
<
T
>
Type Parameters
T
extends
Readonly
<
Record
<
string
,
any
>
>
Parameters
predicate
:
any
Returns
predicate
is
SortPredicate
<
T
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
create
From
Existing
get
Predicates
is
Valid
Predicate
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter