MCPcopy Create free account
hub / github.com/dresende/node-orm2 / execQuery

Function execQuery

lib/Drivers/DML/_shared.js:7–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5};
6
7var execQuery = function () {
8 var cb;
9 var query;
10
11 if (arguments.length == 2) {
12 query = arguments[0];
13 cb = arguments[1];
14 } else if (arguments.length == 3) {
15 query = this.generateQuery(arguments[0], arguments[1]);
16 cb = arguments[2];
17 }
18 return this.execSimpleQuery(query, cb);
19};
20
21var eagerQuery = function (association, opts, keys, cb) {
22 var desiredKey = Object.keys(association.field);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected