mirror of
https://github.com/knex/knex.git
synced 2025-10-10 15:39:14 +00:00
14 lines
234 B
JavaScript
14 lines
234 B
JavaScript
|
|
// FunctionHelper
|
|
// -------
|
|
'use strict';
|
|
|
|
function FunctionHelper(client) {
|
|
this.client = client;
|
|
}
|
|
|
|
FunctionHelper.prototype.now = function () {
|
|
return this.client.raw('CURRENT_TIMESTAMP');
|
|
};
|
|
|
|
module.exports = FunctionHelper; |