Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nozbe/WatermelonDB
/ functions
Functions
970 in github.com/Nozbe/WatermelonDB
⨍
Functions
970
◇
Types & classes
272
↓ 4 callers
Method
hot
(marbles, values, error)
src/__tests__/utils/makeScheduler.js:9
↓ 4 callers
Function
identicalArrays
(left: V, right: V)
src/react/withObservables/index.js:66
↓ 4 callers
Method
inTransaction
(executeBlock: () => void)
src/adapters/sqlite/sqlite-node/Database.js:36
↓ 4 callers
Function
likeToRegexp
(likeQuery: string)
src/utils/fp/likeToRegexp/index.js:3
↓ 4 callers
Function
makeDatabase
()
src/decorators/children/test.js:30
↓ 4 callers
Function
makeMock
(db, name)
src/observation/subscribeToSimpleQuery/test.js:8
↓ 4 callers
Function
mockProjectRaw
(raw)
src/adapters/__tests__/helpers.js:149
↓ 4 callers
Method
onActionDone
(action: WorkerAction, result: Result<WorkerResponseData>)
src/adapters/lokijs/worker/DatabaseBridge.js:81
↓ 4 callers
Function
perform
()
src/adapters/__tests__/commonTests.js:1216
↓ 4 callers
Function
prepareTask
(tasks, name, isCompleted)
src/observation/subscribeToQueryReloading/test.js:5
↓ 4 callers
Function
renderRecord
(record: DirtyRaw)
src/diagnostics/diagnoseSyncConsistency/impl.js:29
↓ 4 callers
Function
resolveConflict
(local: RawRecord, remote: DirtyRaw)
src/sync/impl/helpers.js:14
↓ 4 callers
Function
setGenerator
(newGenerator: () => string)
src/utils/common/randomId/index.js:9
↓ 4 callers
Function
setLastPulledSchemaVersion
( database: Database, version: SchemaVersion, )
src/sync/impl/index.js:36
↓ 4 callers
Method
subAction
(work: () => Promise<T>)
src/Database/WorkQueue.js:162
↓ 4 callers
Function
subscribeToQueryReloading
( query: Query<Record>, subscriber: (Record[]) => void, // Emits `false` when query fetch begins + alway
src/observation/subscribeToQueryReloading/index.js:14
↓ 4 callers
Function
subscribeToQueryWithColumns
( query: Query<Record>, columnNames: ColumnName[], subscriber: (Record[]) => void, )
src/observation/subscribeToQueryWithColumns/index.js:43
↓ 4 callers
Method
test
()
src/decorators/action/test.js:44
↓ 4 callers
Function
testQuery
(query, performer)
src/adapters/lokijs/worker/performJoins/test.js:31
↓ 4 callers
Function
testQueryObservation
(makeSubscribe, withColumns)
src/Query/test.js:274
↓ 4 callers
Function
throwError
(name: string)
src/adapters/error.js:7
↓ 4 callers
Function
throwError
(str)
scripts/release.mjs:20
↓ 4 callers
Function
trigger
()
src/Model/test.js:892
↓ 4 callers
Function
trigger
()
src/Collection/test.js:339
↓ 4 callers
Function
unnest
(arr)
src/utils/fp/unnest/index.js:4
↓ 4 callers
Function
updatesListBeforeModelTest
(mockDb, subscribe)
src/observation/test.js:24
↓ 4 callers
Method
withChangesForTables
* Returns an `Observable` that emits a signal (`null`) immediately, and on every change in * any of the passed tables. * * A set of changes m
src/Database/index.js:286
↓ 4 callers
Function
yieldLog
()
src/diagnostics/diagnoseSyncConsistency/impl.js:13
↓ 3 callers
Method
__validateQueue
()
src/Database/WorkQueue.js:60
↓ 3 callers
Method
_assertNotBroken
()
src/adapters/lokijs/worker/DatabaseDriver.js:452
↓ 3 callers
Method
_disposableFromDirtyRaw
( collection: Collection<$FlowFixMe<this>>, dirtyRaw: DirtyRaw, )
src/Model/index.js:389
↓ 3 callers
Method
_fatalError
(error: Error)
src/adapters/lokijs/worker/DatabaseDriver.js:460
↓ 3 callers
Method
_findLocal
(key: string)
src/adapters/lokijs/worker/DatabaseDriver.js:447
↓ 3 callers
Method
_modelForRaw
(raw: RawRecord, warnIfCached: boolean = true)
src/Collection/RecordCache.js:108
↓ 3 callers
Method
_prepareCreateFromDirtyRaw
( collection: Collection<$FlowFixMe<this>>, dirtyRaw: DirtyRaw, )
src/Model/index.js:379
↓ 3 callers
Function
action1
()
src/Database/test.js:639
↓ 3 callers
Function
action2
()
src/Database/test.js:640
↓ 3 callers
Function
allPromisesObj
( promisesObj: Spec, // $FlowFixMe )
src/utils/fp/allPromisesObj/index.js:5
↓ 3 callers
Function
applyRemoteChanges
( remoteChanges: SyncDatabaseChangeSet, context: ApplyRemoteChangesContext, )
src/sync/impl/applyRemote.js:387
↓ 3 callers
Function
buildModule
(format)
scripts/make.mjs:87
↓ 3 callers
Function
check
(strategy)
src/sync/impl/__tests__/synchronize-replacement.test.js:60
↓ 3 callers
Function
checkSet
(value)
src/Database/LocalStorage/test.js:90
↓ 3 callers
Function
createFolder
(dir)
scripts/make.mjs:72
↓ 3 callers
Function
createProject
(name)
src/sync/impl/__tests__/synchronize.test.js:440
↓ 3 callers
Method
cursorToMap
(Cursor cursor)
native/android/src/main/java/com/nozbe/watermelondb/DatabaseUtils.java:8
↓ 3 callers
Function
deepFreeze
(object: T)
src/utils/common/deepFreeze/index.js:6
↓ 3 callers
Function
delayed
(ms)
src/utils/fp/allPromisesObj/test.js:5
↓ 3 callers
Function
encodeAndOr
( associations: QueryAssociation[], op: string, table: TableName<any>, conditions: Where[], )
src/adapters/sqlite/encodeQuery/index.js:121
↓ 3 callers
Function
encodeBatch
( operations: BatchOperation[], schema: AppSchema, )
src/adapters/sqlite/encodeBatch/index.js:108
↓ 3 callers
Function
encodeInsertSql
(schema: TableSchema)
src/adapters/sqlite/encodeBatch/index.js:10
↓ 3 callers
Function
encodeUpdateSql
(schema: TableSchema)
src/adapters/sqlite/encodeBatch/index.js:36
↓ 3 callers
Function
encodeWhere
(table: TableName<any>, associations: QueryAssociation[])
src/adapters/sqlite/encodeQuery/index.js:70
↓ 3 callers
Function
ensureSameDatabase
(database: Database, initialResetCount: number)
src/sync/impl/helpers.js:132
↓ 3 callers
Function
executeQuery
(query: SerializedQuery, loki: Loki)
src/adapters/lokijs/worker/executeQuery.js:48
↓ 3 callers
Function
expectCreateFails
(raw)
src/sync/impl/__tests__/applyRemote.test.js:469
↓ 3 callers
Function
expectUpdateFails
(raw)
src/sync/impl/__tests__/applyRemote.test.js:470
↓ 3 callers
Method
fetch
()
src/Relation/index.js:69
↓ 3 callers
Method
findAndObserve
* Fetches the given record and then starts observing it. * * This is a convenience method that's equivalent to * `collection.find(id)`, follo
src/Collection/index.js:94
↓ 3 callers
Function
getPath
(dbName: string)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:39
↓ 3 callers
Method
getQueue
()
native/android/src/main/java/com/nozbe/watermelondb/Connection.java:20
↓ 3 callers
Function
getSyncChanges
( migrations: SchemaMigrations, fromVersion: SchemaVersion, toVersion: SchemaVersion, )
src/Schema/migrations/getSyncChanges/index.js:20
↓ 3 callers
Function
getTriggeringProps
( props: PropsInput, propNames: TriggerProps<PropsInput>, )
src/react/withObservables/index.js:80
↓ 3 callers
Method
hasCachedTable
(table: string)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:177
↓ 3 callers
Method
init
(dbName: string)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:82
↓ 3 callers
Function
insertAll
(adapter, table, records)
src/adapters/__tests__/helpers.js:152
↓ 3 callers
Method
isCompatible
(schemaVersion: number)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:204
↓ 3 callers
Function
makeDatabase
()
src/decorators/nochange/test.js:18
↓ 3 callers
Function
makeDescription
(conditions)
src/observation/encodeMatcher/test.js:11
↓ 3 callers
Function
makePerformer
()
src/adapters/lokijs/worker/performJoins/test.js:42
↓ 3 callers
Function
mapJoin
(array: T[], mapper: (T) => string, joiner: string)
src/adapters/sqlite/encodeQuery/index.js:21
↓ 3 callers
Method
markAsCached
(table: string, id: string)
src/adapters/sqlite/sqlite-node/DatabaseDriver.js:189
↓ 3 callers
Method
markAsCached
(String table, String id)
native/android/src/main/java/com/nozbe/watermelondb/WMDatabaseDriver.java:182
↓ 3 callers
Function
mockTagAssignmentRaw
(raw)
src/adapters/__tests__/helpers.js:150
↓ 3 callers
Function
observeDatabase
(database)
src/sync/impl/__tests__/synchronize.test.js:20
↓ 3 callers
Method
open
()
src/adapters/sqlite/sqlite-node/Database.js:18
↓ 3 callers
Function
performMatchTest
(adapter, testCase)
src/adapters/__tests__/helpers.js:169
↓ 3 callers
Function
prepareCreateFromRaw
(collection: Collection<T>, dirtyRaw: DirtyRaw)
src/sync/impl/helpers.js:44
↓ 3 callers
Function
prepareTask
(tasks, isCompleted)
src/observation/subscribeToCount/test.js:5
↓ 3 callers
Function
projectQuery
(...conditions)
src/adapters/__tests__/helpers.js:146
↓ 3 callers
Function
pullChanges
()
src/sync/impl/__tests__/synchronize.test.js:125
↓ 3 callers
Function
recordFromRaw
(raw: RawRecord, collection: Collection<T>)
src/sync/impl/helpers.js:74
↓ 3 callers
Method
returnArgs
(a, b, ...c)
src/decorators/action/test.js:6
↓ 3 callers
Method
sendReject
(reject: (string, string, Error) => void, error: Error, functionName: string)
src/adapters/sqlite/sqlite-node/DatabaseBridge.js:216
↓ 3 callers
Function
subscribeToCount
( query: Query<Record>, isThrottled: boolean, subscriber: (number) => void, )
src/observation/subscribeToCount/index.js:32
↓ 3 callers
Function
subscribeToQuery
( query: Query<Record>, subscriber: (Record[]) => void, )
src/observation/subscribeToQuery.js:12
↓ 3 callers
Function
subscribeToSimpleQuery
( query: Query<Record>, subscriber: (Record[]) => void, // if true, emissions will always be made on col
src/observation/subscribeToSimpleQuery/index.js:11
↓ 3 callers
Function
testCountObservation
(makeSubscribe, isThrottled)
src/Query/test.js:327
↓ 3 callers
Method
unsafeExecute
(work: UnsafeExecuteOperations, callback: ResultCallback<void>)
src/adapters/type.js:72
↓ 3 callers
Method
unsafeResetDatabase
()
src/adapters/lokijs/worker/DatabaseDriver.js:235
↓ 3 callers
Method
unsubscribe
()
src/react/withObservables/index.js:200
↓ 3 callers
Function
updateTask
(task, updater)
src/observation/subscribeToCount/test.js:16
↓ 3 callers
Function
validateConditions
(clauses: Where[])
src/QueryDescription/operators.js:315
↓ 3 callers
Function
withObservables
( triggerProps: TriggerProps<PropsInput>, getObservables: GetObservables<PropsInput, ObservableProps>, )
src/react/withObservables/index.js:352
↓ 2 callers
Method
__ensureCanSetRaw
()
src/Model/index.js:459
↓ 2 callers
Method
_addCollection
(tableSchema: TableSchema)
src/adapters/lokijs/worker/DatabaseDriver.js:313
↓ 2 callers
Method
_cachedModelForId
(id: RecordId)
src/Collection/RecordCache.js:71
↓ 2 callers
Method
_driverAction
(type: WorkerExecutorType)
src/adapters/lokijs/worker/DatabaseBridge.js:98
↓ 2 callers
Method
_encodedSchema
()
src/adapters/sqlite/index.js:381
↓ 2 callers
Method
_fetchIds
(query: Query<Record>, callback: ResultCallback<RecordId[]>)
src/Collection/index.js:206
↓ 2 callers
Method
_fetchRecord
(id: RecordId, callback: ResultCallback<Record>)
src/Collection/index.js:219
← previous
next →
201–300 of 970, ranked by callers