Properties
Readonly
isFrozen
isFrozen: boolean
Readonly
isValid
isValid: boolean
Readonly
objectType
objectType: string
Readonly
query
Readonly
type
Methods
addNotificationCallback
- addNotificationCallback(cb, keyPaths): NotificationToken
Parameters
cb: ((changes) => void)
- (changes): void
Returns void
keyPaths: undefined | [TableKey, ColKey][][]
average
- average(column): undefined | Mixed
Returns undefined | Mixed
clear
- clear(): void
Returns void
filter
- filter(query): Results
freeze
- freeze(frozen_realm): Results
getAny
- getAny(index): Mixed
getDictionaryElement
- getDictionaryElement(index): [string, Mixed]
Returns [string, Mixed]
getObj
- getObj(index): Obj
Returns Obj
indexOf
- indexOf(value): number
Returns number
indexOfObj
- indexOfObj(obj): number
Returns number
limit
- limit(max_count): Results
max
- max(column): undefined | Mixed
Returns undefined | Mixed
min
- min(column): undefined | Mixed
Returns undefined | Mixed
size
- size(): number
Returns number
snapshot
- snapshot(): Results
sort
- sort(order): Results
sortByNames
- sortByNames(order): Results
Parameters
order: [string, boolean][]
sum
- sum(column): undefined | Mixed
Returns undefined | Mixed
Static
fromTable
- fromTable(r, table): Results
Static
fromTableView
- fromTableView(r, table): Results
Static
makeEmpty
- makeEmpty(): Results
Deprecated
Add
is_frozen
to your opt-in list (underclasses/Results/methods/
) to use this.