UNPKG

@rikishi/watermelondb

Version:

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

13 lines (10 loc) 316 B
// @flow import Query from '../../Query' import encodeQuery from './encodeQuery' import type { SQL } from './index' // $FlowFixMe[prop-missing] Query.prototype._sql = function _sql(count: boolean = false): SQL { const query: Query<any> = this const [sql] = encodeQuery(query.serialize(), count) return sql }