MCPcopy Create free account

hub / github.com/Nozbe/WatermelonDB / functions

Functions970 in github.com/Nozbe/WatermelonDB

↓ 1 callersFunctiongetMigrationInfo
( database: Database, log: ?SyncLog, lastPulledAt: ?Timestamp, migrationsEnabledAtVersion: ?SchemaVers
src/sync/impl/index.js:49
↓ 1 callersFunctiongetNewVersion
(input)
scripts/release.mjs:16
↓ 1 callersFunctiongetObservable
(relation: Relation<T>)
src/Relation/helpers.js:20
↓ 1 callersFunctiongetPreciseTimeFunction
()
src/utils/common/devMeasureTime/index.js:3
↓ 1 callersMethodgetRandomBytes
(int count)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseBridge.java:230
↓ 1 callersFunctionhasOwn
(obj: Object, key: string)
src/react/withObservables/index.js:91
↓ 1 callersFunctionimmutableRelation
( relationTable: TableName<any>, relationIdColumn: ColumnName, )
src/decorators/immutableRelation/index.js:22
↓ 1 callersFunctioninitializeJSI
()
src/adapters/sqlite/makeDispatcher/index.native.js:132
↓ 1 callersMethodinstall
()
native/android-jsi/src/main/java/com/nozbe/watermelondb/WatermelonDBJSIModule.java:30
↓ 1 callersMethodinstall
(Context context, long javaScriptContextHolder)
native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java:5
↓ 1 callersMethodinstallBinding
(long javaScriptContextHolder)
native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java:21
↓ 1 callersMethodisCached
(table: TableName<any>, id: RecordId)
src/adapters/lokijs/worker/DatabaseDriver.js:64
↓ 1 callersMethodisCompatible
(int schemaVersion)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:249
↓ 1 callersFunctionisIDBAvailable
(onQuotaExceededError: ?(error: Error) => void)
src/adapters/lokijs/worker/lokiExtensions.js:9
↓ 1 callersMethodisInMemoryDatabase
()
src/adapters/sqlite/sqlite-node/Database.js:127
↓ 1 callersMethodisOpen
()
native/android/src/main/java/com/nozbe/watermelondb/WMDatabase.java:189
↓ 1 callersFunctionisUniqueIndexValid
(collection: any, key: string)
src/diagnostics/diagnoseDatabaseStructure/impl.js:50
↓ 1 callersFunctionisValidAndGreaterVersion
(input)
scripts/release.mjs:17
↓ 1 callersFunctionisValidNumber
(value: any)
src/RawRecord/index.js:30
↓ 1 callersFunctionisValidStatus
(value: any)
src/RawRecord/index.js:65
↓ 1 callersFunctionlogCollections
( log: (text?: string) => void, collections: Array<$Exact<{ name: string, parents: Array<Array<any | strin
src/diagnostics/diagnoseDatabaseStructure/impl.js:36
↓ 1 callersFunctionlokiFatalError
(loki: Loki)
src/adapters/lokijs/worker/lokiExtensions.js:118
↓ 1 callersFunctionmain
()
scripts/replace-docs-path.mjs:9
↓ 1 callersFunctionmakeAdapter
(options)
src/adapters/__tests__/commonTests.js:43
↓ 1 callersFunctionmakeDispatcher
( _type: DispatcherType, tag: ConnectionTag, _dbName: string, _options: SqliteDispatcherOptions, )
src/adapters/sqlite/makeDispatcher/index.js:34
↓ 1 callersFunctionmakeFoo
()
src/decorators/lazy/test.js:6
↓ 1 callersFunctionmakeScheduler
()
src/__tests__/utils/makeScheduler.js:14
↓ 1 callersFunctionmanyActions
()
src/Database/test.js:764
↓ 1 callersMethodmarkAsCached
(table: TableName<any>, id: RecordId)
src/adapters/lokijs/worker/DatabaseDriver.js:69
↓ 1 callersMethodmigrate
(migrations: Migrations)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:225
↓ 1 callersMethodmigrate
(MigrationSet migrations)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:209
↓ 1 callersMethodnested
(...args)
src/decorators/action/test.js:11
↓ 1 callersFunctionnewLoki
(options: LokiAdapterOptions)
src/adapters/lokijs/worker/lokiExtensions.js:74
↓ 1 callersFunctionnextActionId
()
src/adapters/lokijs/dispatcher.js:30
↓ 1 callersFunctionnotEq
(valueOrColumn: Value | ColumnDescription)
src/QueryDescription/operators.js:65
↓ 1 callersFunctionobserveCountFetch
()
src/observation/subscribeToCount/index.js:47
↓ 1 callersFunctionobserveCountThrottled
(query: Query<Record>)
src/observation/subscribeToCount/index.js:23
↓ 1 callersMethodobserveWithColumns
* Same as {@link Query#observe}, but also emits when any of the records on the list * has one of its `columnNames` changed.
src/Query/index.js:156
↓ 1 callersFunctiononLowMemory
(callback: Callback)
src/utils/common/memory/index.js:6
↓ 1 callersFunctionparseJSON
(value: any)
src/decorators/json/index.js:23
↓ 1 callersFunctionperformJoin
(join: LokiJoin, loki: Loki)
src/adapters/lokijs/worker/executeQuery.js:13
↓ 1 callersFunctionperformJoinTest
(adapter, testCase)
src/adapters/__tests__/helpers.js:205
↓ 1 callersFunctionperformJoinsImpl
(query: LokiRawQuery, performer: QueryPerformer)
src/adapters/lokijs/worker/performJoins/index.js:8
↓ 1 callersFunctionprepareTask
(tasks, name, isCompleted, position)
src/observation/test.js:7
↓ 1 callersMethodprocessActionAsync
(action: WorkerAction)
src/adapters/lokijs/worker/DatabaseBridge.js:57
↓ 1 callersFunctionpromiseTimeoutError
(errorMessage, ms)
scripts/release.mjs:24
↓ 1 callersMethodprovideSyncJson
(int id, byte[] json)
native/android-jsi/src/main/java/com/nozbe/watermelondb/jsi/JSIInstaller.java:23
↓ 1 callersFunctionpushChanges
({ changes, lastPulledAt })
examples/typescript/ts-example.ts:101
↓ 1 callersMethodrawRecordsFromQueryResult
(results: CachedQueryResult)
src/Collection/RecordCache.js:60
↓ 1 callersMethodrecordsFromQueryResult
(result: CachedQueryResult)
src/Collection/RecordCache.js:48
↓ 1 callersFunctionrecordsToApplyRemoteChangesTo
( collection: Collection<T>, changes: SyncTableChangeSet, context: ApplyRemoteChangesContext, )
src/sync/impl/applyRemote.js:208
↓ 1 callersFunctionrecordsToApplyRemoteChangesTo_incremental
( collection: Collection<T>, changes: SyncTableChangeSet, context: ApplyRemoteChangesContext, )
src/sync/impl/applyRemote.js:91
↓ 1 callersFunctionrecordsToApplyRemoteChangesTo_replacement
( collection: Collection<T>, changes: SyncTableChangeSet, context: ApplyRemoteChangesContext, )
src/sync/impl/applyRemote.js:118
↓ 1 callersFunctionrecordsToMarkAsSynced
( { changes, affectedRecords }: SyncLocalChanges, allRejectedIds: SyncRejectedIds, )
src/sync/impl/markAsSynced.js:10
↓ 1 callersFunctionreloadingObserverFetch
()
src/observation/subscribeToQueryReloading/index.js:25
↓ 1 callersMethodremoveFromCache
(table: string, id: string)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:196
↓ 1 callersMethodremoveFromCache
(String table, String id)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:197
↓ 1 callersFunctionremoveIfExists
(file, dbName)
src/adapters/sqlite/test.js:8
↓ 1 callersFunctionrunPlayground
()
src/__playground__/index.js:9
↓ 1 callersFunctionsanitizeFindResult
( dirtyRecord: DirtyFindResult, tableSchema: TableSchema, )
src/adapters/common.js:50
↓ 1 callersFunctionsanitizeQueryResult
( dirtyRecords: DirtyQueryResult, tableSchema: TableSchema, )
src/adapters/common.js:59
↓ 1 callersFunctionscheduleForCleanup
(fn: () => void)
src/react/withObservables/garbageCollector.js:28
↓ 1 callersMethodsetLocal
(key: string, value: string)
src/adapters/lokijs/worker/DatabaseDriver.js:252
↓ 1 callersMethodsetUp
()
src/adapters/lokijs/worker/DatabaseDriver.js:59
↓ 1 callersMethodsetUpWithMigrations
(dbName: string, migrations: Migrations)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:76
↓ 1 callersMethodsetUpWithSchema
(dbName: string, schema: string, schemaVersion: number)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:70
↓ 1 callersFunctionshouldCensorKey
(key: string)
src/diagnostics/censorRaw.js:10
↓ 1 callersMethodsilence
()
src/utils/common/logger/index.js:28
↓ 1 callersFunctionstrategyForCollection
( collection: Collection<any>, strategy: ?SyncPullStrategy, )
src/sync/impl/applyRemote.js:195
↓ 1 callersFunctionsubaction
()
src/Database/test.js:625
↓ 1 callersFunctionsum
(xs)
src/sync/impl/helpers.js:144
↓ 1 callersMethodtable
* Table name of this record
src/Model/index.js:319
↓ 1 callersFunctiontransform
(records, _loki)
src/QueryDescription/__tests__/test.js:192
↓ 1 callersFunctionunsafeApplyAllRemoteChangesByBatches
( recordsToApply: AllRecordsToApply, context: ApplyRemoteChangesContext, )
src/sync/impl/applyRemote.js:368
↓ 1 callersMethodunsafeClear
()
src/Collection/RecordCache.js:44
↓ 1 callersMethodunsafeDestroyEverything
()
src/adapters/sqlite/sqlite-node/Database.js:83
↓ 1 callersMethodunsafeDestroyEverything
()
native/android/src/main/java/com/nozbe/watermelondb/WMDatabase.java:163
↓ 1 callersMethodunsafeResetDatabase
(schema: { sql: string, version: number })
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:215
↓ 1 callersMethodunsafeResetDatabase
(Schema schema)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:221
↓ 1 callersFunctionupdateTask
(task, updater)
src/observation/test.js:21
↓ 1 callersFunctionupdateTask
(task, updater)
src/observation/subscribeToQueryReloading/test.js:18
↓ 1 callersFunctionverifyLokiIndices
(db: Database, log: (text?: string) => void)
src/diagnostics/diagnoseDatabaseStructure/impl.js:76
↓ 1 callersFunctionwithDatabase
( Component: React$ComponentType<WithDatabaseProps<T>>, )
src/react/withDatabase.js:12
↓ 1 callersFunctionwithHooks
( hookTransformer: (props: PropsInput) => NewProps, )
src/react/withHooks.js:8
↓ 1 callersMethodwithObservablesOnChange
(values: AddedValues)
src/react/withObservables/index.js:261
↓ 1 callersMethodwithObservablesOnError
(error: Error)
src/react/withObservables/index.js:277
↓ 1 callersFunctionwithRecreatedIndices
( operations: NativeBridgeBatchOperation[], schema: AppSchema, )
src/adapters/sqlite/encodeBatch/index.js:93
FunctionComponent
()
src/react/useDatabase.test.js:26
MethodConnected
(WMDatabaseDriver driver)
native/android/src/main/java/com/nozbe/watermelondb/Connection.java:8
FunctionDatabaseComponent
(props: any)
src/react/withDatabase.js:15
FunctionDatabaseProvider
* Database provider to create the database context * to allow child components to consume the database without prop drilling
src/react/DatabaseProvider.js:15
FunctionHome
()
docs-website/src/pages/index.js:28
FunctionHomepageHeader
()
docs-website/src/pages/index.js:11
MethodMigrationNeededError
(int databaseVersion)
native/android/src/main/java/com/nozbe/watermelondb/MigrationNeededError.java:6
MethodMigrationSet
(int from, int to, String sql)
native/android/src/main/java/com/nozbe/watermelondb/utils/MigrationSet.java:8
FunctionMockComponent
()
src/react/DatabaseProvider.test.js:10
MethodNeedsMigration
(int fromVersion)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:243
MethodPair
(K key, V value)
native/android/src/main/java/com/nozbe/watermelondb/utils/Pair.java:7
FunctionSQLiteAdapterTest
(spec)
src/adapters/sqlite/integrationTest.js:8
MethodSchema
(int version, String sql)
native/android/src/main/java/com/nozbe/watermelondb/utils/Schema.java:7
← previousnext →501–600 of 970, ranked by callers