Logo
Explore Help
Register Sign In
yujunjun/knex
1
0
Fork 0
You've already forked knex
mirror of https://github.com/knex/knex.git synced 2025-07-10 02:20:51 +00:00
Code Issues Packages Projects Releases Wiki Activity
knex/lib/functionhelper.js

9 lines
129 B
JavaScript
Raw Normal View History

Added a function helper collection To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-03 11:59:29 +02:00
// FunctionHelper
// -------
module.exports = {
Add .joinRaw and remove deprecated join notices
2014-08-14 18:02:50 -04:00
now: function() {
Added a function helper collection To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-03 11:59:29 +02:00
return new this.client.Raw('CURRENT_TIMESTAMP');
}
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 106ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API