UNPKG

phantasy-mysql

Version:
18 lines (11 loc) 348 B
// @flow import type { DictOf } from 'flow-helpers'; export type TableName = string export type FieldName = string export type FieldValue = | bool | number | string export type QueryValues = DictOf<FieldValue> export type QueryCriteria = DictOf<FieldValue|Array<FieldValue>> export type QueryObj = { sql: string, args: Array<FieldValue> }