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

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