Skip to content
Snippets Groups Projects
Commit f8d84b36 authored by Callum Herries's avatar Callum Herries
Browse files

Implement h2 driver

parent e855a0fd
Branches
Tags
No related merge requests found
......@@ -204,6 +204,10 @@
;;; | metabase.driver.sql impls |
;;; +----------------------------------------------------------------------------------------------------------------+
(defmethod sql.qp/->honeysql [:h2 :now]
[_driver _clause]
(hsql/call :current_timestamp 0))
(defn- add-to-1970 [expr unit-str]
(hsql/call :timestampadd
(hx/literal unit-str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment