@adonisjs/lucid
Version:
SQL ORM built on top of Active Record pattern
19 lines (18 loc) • 427 B
JavaScript
;
/*
* @adonisjs/lucid
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.scope = void 0;
/**
* Helper to mark a function as query scope
*/
function scope(callback) {
return callback;
}
exports.scope = scope;