functionhelper.js 299 B

12345678910111213141516
  1. 'use strict';
  2. exports.__esModule = true;
  3. // FunctionHelper
  4. // -------
  5. function FunctionHelper(client) {
  6. this.client = client;
  7. }
  8. FunctionHelper.prototype.now = function () {
  9. return this.client.raw('CURRENT_TIMESTAMP');
  10. };
  11. exports.default = FunctionHelper;
  12. module.exports = exports['default'];