MCPcopy Create free account

hub / github.com/Nozbe/WatermelonDB / functions

Functions970 in github.com/Nozbe/WatermelonDB

↓ 2 callersMethod_notify
(changes: [TableName<any>, CollectionChangeSet<any>][])
src/Database/index.js:194
↓ 2 callersMethod_notifyChanged
()
src/Model/index.js:417
↓ 2 callersMethod_notifyDestroyed
()
src/Model/index.js:424
↓ 2 callersMethod_onError
(action: WorkerAction, error: any)
src/adapters/lokijs/worker/DatabaseBridge.js:105
↓ 2 callersMethod_openDatabase
()
src/adapters/lokijs/worker/DatabaseDriver.js:284
↓ 2 callersFunction_setRaw
(raw: Object, key: string, value: any, columnSchema: ColumnSchema)
src/RawRecord/index.js:35
↓ 2 callersMethod_setUpWithSchema
(callback: ResultCallback<void>)
src/adapters/sqlite/index.js:199
↓ 2 callersMethod_unsafeFetchRaw
(query: Query<Record>, callback: ResultCallback<any[]>)
src/Collection/index.js:214
↓ 2 callersMethod_unsubscribe
(entry: [(T) => void, any])
src/utils/subscriptions/SharedSubscribable/index.js:58
↓ 2 callersFunctionaction0
()
src/Database/test.js:647
↓ 2 callersFunctionactionInterface
(queue: WorkQueue, item: WorkQueueItem<any>)
src/Database/WorkQueue.js:85
↓ 2 callersFunctionadapterWithMigrations
(migrations)
src/adapters/__tests__/commonTests.js:45
↓ 2 callersMethodarrayContains
(final T[] array, final T value)
native/android/src/main/java/com/nozbe/watermelondb/DatabaseUtils.java:31
↓ 2 callersMethodbuildDatabase
(String name, Context context, int openFlags)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabase.java:40
↓ 2 callersFunctionbuildModules
(format)
scripts/make.mjs:193
↓ 2 callersMethodcancelPrefetchTimeout
()
src/react/withObservables/index.js:295
↓ 2 callersFunctioncheckAdapter
()
src/Database/test.js:65
↓ 2 callersFunctioncheckGet
(value)
src/Database/LocalStorage/test.js:86
↓ 2 callersFunctioncloneMessage
(data: any)
src/adapters/lokijs/worker/cloneMessage/index.js:18
↓ 2 callersMethodconnectDriver
(int connectionTag, WMDatabaseDriver driver, Promise promise)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseBridge.java:196
↓ 2 callersMethodconnectDriverAsync
(tag: number, driver: DatabaseDriver)
src/adapters/sqlite/sqlite-node/DatabaseBridge.js:196
↓ 2 callersFunctioncopyNonJavaScriptFiles
(buildPath)
scripts/make.mjs:116
↓ 2 callersMethodcreate
(K key, V value)
native/android/src/main/java/com/nozbe/watermelondb/utils/Pair.java:12
↓ 2 callersMethoddebug
(...messages: any[])
src/utils/common/logger/index.js:12
↓ 2 callersFunctiondevSetupCallback
(result: Result<any>, onSetUpError: ?(error: Error) => void)
src/adapters/common.js:68
↓ 2 callersFunctiondiagnosticError
(errorMessage: string)
src/utils/common/diagnosticError/index.js:14
↓ 2 callersMethoddisposableFromDirtyRaw
* Returns a disposable record, based on a raw object. * * A disposable record is a read-only record that **does not** exist in the actual databa
src/Collection/index.js:192
↓ 2 callersFunctionemitCopy
(records: Array<Record>)
src/observation/subscribeToQueryWithColumns/index.js:56
↓ 2 callersFunctionemitCopy
()
src/observation/subscribeToSimpleQuery/index.js:37
↓ 2 callersFunctionencodeAndOr
(op: LokiKeyword)
src/adapters/lokijs/worker/encodeQuery/index.js:170
↓ 2 callersFunctionencodeConditions
( associations, conditions, )
src/adapters/lokijs/worker/encodeQuery/index.js:164
↓ 2 callersFunctionencodeIndex
(column: ColumnSchema, tableName: TableName<any>)
src/adapters/sqlite/encodeSchema/index.js:22
↓ 2 callersFunctionencodeMigrationSteps
(steps)
src/adapters/sqlite/encodeSchema/index.js:88
↓ 2 callersFunctionencodeQuery
(query: SerializedQuery)
src/adapters/lokijs/worker/encodeQuery/index.js:219
↓ 2 callersFunctionencodeRootConditions
( associations, conditions, )
src/adapters/lokijs/worker/encodeQuery/index.js:196
↓ 2 callersFunctionencodeSchema
({ tables, unsafeSql }: AppSchema)
src/adapters/sqlite/encodeSchema/index.js:39
↓ 2 callersFunctionencodedWithArgs
(clauses, countMode)
src/adapters/sqlite/encodeQuery/test.js:31
↓ 2 callersMethodenqueue
( work: ($FlowFixMe<ReaderInterface | WriterInterface>) => Promise<T>, description: ?string, isWri
src/Database/WorkQueue.js:112
↓ 2 callersMethodexecuteNext
()
src/adapters/lokijs/worker/DatabaseBridge.js:38
↓ 2 callersMethodexecuteStatements
(queries: string)
src/adapters/sqlite/sqlite-node/Database.js:44
↓ 2 callersFunctionexpectChangeFails
(changes)
src/sync/impl/__tests__/applyRemote.test.js:463
↓ 2 callersFunctionexpectFalse
(matcher, raw)
src/observation/encodeMatcher/test.js:15
↓ 2 callersFunctionexpectTrue
(matcher, raw)
src/observation/encodeMatcher/test.js:14
↓ 2 callersMethodexperimentalSubscribeWithColumns
* Rx-free equivalent of `.observeWithColumns()`
src/Query/index.js:234
↓ 2 callersFunctionfromPromise
(promise: Promise<T>, callback: ResultCallback<T>)
src/utils/fp/Result/index.js:21
↓ 2 callersFunctionfullObservationTest
(mockDb, query, asyncSource)
src/observation/subscribeToQueryWithColumns/test.js:23
↓ 2 callersMethodgetCache
(table: TableName<any>)
src/adapters/lokijs/worker/DatabaseDriver.js:89
↓ 2 callersFunctiongetComparisonRight
(table: TableName<any>, comparisonRight: ComparisonRight)
src/adapters/sqlite/encodeQuery/index.js:30
↓ 2 callersMethodgetQueue
(int connectionTag)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseBridge.java:155
↓ 2 callersFunctiongetRecordState
(record, columnNames)
src/observation/subscribeToQueryWithColumns/index.js:18
↓ 2 callersMethodgetUserVersion
()
native/android/src/main/java/com/nozbe/watermelondb/WMDatabase.java:61
↓ 2 callersFunctionhandleLikeValue
(v: any, defaultV: string)
src/observation/encodeMatcher/operators.js:28
↓ 2 callersFunctionidsForChanges
({ created, updated, deleted }: SyncTableChangeSet)
src/sync/impl/applyRemote.js:59
↓ 2 callersMethodisCached
(table: string, id: string)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:182
↓ 2 callersMethodisCached
(String table, String id)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:192
↓ 2 callersFunctionkeys
(obj: T)
src/utils/fp/keys/index.js:3
↓ 2 callersFunctionmake
()
src/QueryDescription/__tests__/test.js:481
↓ 2 callersMethodobserveCount
* Returns an `Rx.Observable` that tracks the number of matching records * * Note: By default, the count is throttled. Pass `false` to opt out of
src/Query/index.js:191
↓ 2 callersFunctionpad
(text: string, len: number)
src/diagnostics/diagnoseDatabaseStructure/impl.js:11
↓ 2 callersFunctionperformJoins
( lokiQuery: LokiQuery, performer: QueryPerformer, )
src/adapters/lokijs/worker/performJoins/index.js:31
↓ 2 callersFunctionperformQuery
(query: SerializedQuery, loki: Loki)
src/adapters/lokijs/worker/executeQuery.js:22
↓ 2 callersMethodpostMessage
(data: any)
src/adapters/lokijs/worker/synchronousWorker.js:26
↓ 2 callersFunctionprepareApplyRemoteChangesToCollection
( recordsToApply: RecordsToApplyRemoteChangesTo<T>, collection: Collection<T>, context: ApplyRemoteChang
src/sync/impl/applyRemote.js:261
↓ 2 callersFunctionprepareUpdateFromRaw
( localRaw: RawRecord, remoteDirtyRaw: DirtyRaw, collection: Collection<T>, log: ?SyncLog, conflictR
src/sync/impl/helpers.js:77
↓ 2 callersMethodrecordFromQueryResult
(result: RecordId | RawRecord)
src/Collection/RecordCache.js:52
↓ 2 callersFunctionrecordsToMap
(records: Object)
src/diagnostics/diagnoseSyncConsistency/impl.js:18
↓ 2 callersMethodremoveFromCache
(table: TableName<any>, id: RecordId)
src/adapters/lokijs/worker/DatabaseDriver.js:78
↓ 2 callersFunctionreplaceRaw
(record: Model, dirtyRaw: DirtyRaw)
src/sync/impl/helpers.js:40
↓ 2 callersFunctionrequiresUpdate
( collection: Collection<T>, local: RawRecord, dirtyRemote: DirtyRaw, )
src/sync/impl/helpers.js:58
↓ 2 callersFunctionsetRawColumnChange
(rawRecord: RawRecord, columnName: ColumnName)
src/sync/helpers.js:14
↓ 2 callersMethodsetUserVersion
(int version)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabase.java:57
↓ 2 callersFunctionshallowCloneDeepObjects
(value: any)
src/adapters/lokijs/worker/cloneMessage/index.js:4
↓ 2 callersFunctionsimpleMockDatabase
()
src/Database/LocalStorage/test.js:4
↓ 2 callersFunctionsorted
(models)
src/sync/impl/__tests__/helpers.js:60
↓ 2 callersFunctionsqlBool
(value)
src/adapters/__tests__/commonTests.js:642
↓ 2 callersFunctionsubscribe
( value: any, onNext: (any) => void, onError: (Error) => void, onComplete: () => void, )
src/react/withObservables/index.js:30
↓ 2 callersMethodsubscribeWithoutSettingState
(props: PropsInput)
src/react/withObservables/index.js:193
↓ 2 callersFunctionsyncWithDelay
(delay)
src/sync/impl/__tests__/synchronize-abort.test.js:15
↓ 2 callersFunctiontableName
(name: string)
src/Schema/index.js:71
↓ 2 callersFunctiontestMassDelete
(methodName)
src/Query/test.js:383
↓ 2 callersFunctiontoEncodedOperations
(sqlStr: SQL)
src/adapters/sqlite/encodeBatch/index.js:98
↓ 2 callersMethodunsafeExecuteStatements
(String statements)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabase.java:65
↓ 2 callersFunctionunsafeFetchAsRaws
(query: Query<T>)
src/sync/impl/applyRemote.js:44
↓ 2 callersFunctionuseDatabase
()
src/react/useDatabase.js:8
↓ 2 callersFunctionvalidateAdapter
(adapter: DatabaseAdapter)
src/adapters/common.js:15
↓ 2 callersFunctionvalidateColumnSchema
(column: ColumnSchema)
src/Schema/index.js:112
↓ 2 callersFunctionvalidateId
(raw)
src/RawRecord/__tests__/test.js:103
↓ 2 callersFunctionvalidateName
(name: string)
src/Schema/index.js:101
↓ 2 callersFunctionvalidateRemoteRaw
(raw: DirtyRaw)
src/sync/impl/applyRemote.js:252
↓ 2 callersFunctionwaitForNextQuery
()
src/observation/test.js:42
↓ 2 callersMethodwaiting
(tag: number, driver: DatabaseDriver)
src/adapters/sqlite/sqlite-node/DatabaseBridge.js:20
↓ 2 callersFunctionwhere
(left: ColumnName, valueOrComparison: Value | Comparison)
src/QueryDescription/operators.js:175
↓ 2 callersFunctionwriter
()
src/Database/test.js:655
↓ 1 callersMethod_abortPendingWork
()
src/Database/WorkQueue.js:209
↓ 1 callersMethod_applyChangesToCache
(operations: CollectionChangeSet<Record>)
src/Collection/index.js:242
↓ 1 callersMethod_clearCachedRecords
()
src/adapters/lokijs/index.js:234
↓ 1 callersMethod_compactQueryResults
(records: DirtyRaw[], table: TableName<any>)
src/adapters/lokijs/worker/DatabaseDriver.js:429
↓ 1 callersFunction_createFactory
(Component)
src/react/helpers.js:6
↓ 1 callersMethod_debugDignoseMissingRecord
(table: TableName<any>, id: RecordId)
src/adapters/lokijs/index.js:238
↓ 1 callersMethod_executeAddColumnsMigration
({ table, columns }: AddColumnsMigrationStep)
src/adapters/lokijs/worker/DatabaseDriver.js:410
← previousnext →301–400 of 970, ranked by callers