2015-05-09 13:58:18 -04:00
|
|
|
|
|
|
|
|
// FunctionHelper
|
|
|
|
|
// -------
|
|
|
|
|
function FunctionHelper(client) {
|
|
|
|
|
this.client = client
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FunctionHelper.prototype.now = function() {
|
|
|
|
|
return this.client.raw('CURRENT_TIMESTAMP')
|
|
|
|
|
}
|
|
|
|
|
|
2016-05-18 19:59:24 +10:00
|
|
|
export default FunctionHelper
|