@nozbe/watermelondb
Version:
Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast
16 lines (12 loc) • 422 B
TypeScript
/* eslint-disable import/no-named-as-default-member */
/* eslint-disable import/no-named-as-default */
// @flow
import type Model from '../Model'
import type Database from '../Database'
import type { QueryDescription } from '../QueryDescription'
import type { QueryAssociation } from './index'
export function getAssociations(
description: QueryDescription,
modelClass: Model,
db: Database,
): QueryAssociation[]