UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

8 lines (5 loc) 273 B
import type Model from './index' import { $Exact } from '../types' type TimestampsObj = $Exact<{ created_at?: number; updated_at?: number }> export function createTimestampsFor(model: Model): TimestampsObj export function fetchDescendants(model: Model): Promise<Model[]>