derbyjs / racer

Realtime model synchronization engine for Node.js
1.18k stars 117 forks source link

Add Model#_getOrCreateQuery method #260

Closed ericyhwang closed 5 years ago

ericyhwang commented 5 years ago

This behaves exactly like the existing Model#query, except that it accepts a Query constructor function to use, allowing subclasses of Query to be utilized.