Constructors
Protected
constructor
- new Collection(): Collection
Properties
Readonly
isFrozen
isFrozen: boolean
Readonly
isValid
isValid: boolean
Readonly
objectSchema
Readonly
parentColumnKey
Readonly
parentObjectKey
Readonly
parentTableKey
Readonly
realm
Readonly
size
size: number
Readonly
type
Methods
addNotificationCallback
- addNotificationCallback(cb, keyPaths): NotificationToken
Parameters
cb: ((changes) => void)
- (changes): void
Returns void
keyPaths: undefined | [TableKey, ColKey][][]
asResults
- asResults(): Results
findAny
- findAny(value): number
Returns number
getAny
- getAny(ndx): Mixed
snapshot
- snapshot(): Results
sort
- sort(order): Results
sortByName
- sortByName(keyPaths): Results
Parameters
keyPaths: readonly [string, boolean][]
verifyAttached
- verifyAttached(): void
Returns void
verifyInTransaction
- verifyInTransaction(): void
Returns void
Deprecated
Add
is_frozen
to your opt-in list (underclasses/Collection/methods/
) to use this.