UNPKG

@grindife/supamelon

Version:

Combination of supabase and watermelondb

13 lines (10 loc) 314 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 }