Skip to content
Snippets Groups Projects
Commit 64cf4d37 authored by Cam Saul's avatar Cam Saul
Browse files

rename :dbname -> :db

parent 60b726c1
No related branches found
No related tags found
No related merge requests found
(ns metabase.driver.mysql
(:require (korma [db :as kdb]
(:require [clojure.set :as set]
(korma [db :as kdb]
mysql)
(korma.sql [engine :refer [sql-func]]
[utils :as korma-utils])
......@@ -57,14 +58,12 @@
:VARCHAR :TextField
:YEAR :IntegerField})
#_(defn- column->base-type [t]
(println "t ================================================================================>" t)
(column->base-type* t))
(defrecord MySQLDriver []
ISqlDriverDatabaseSpecific
(connection-details->connection-spec [_ details]
(kdb/mysql details))
(-> details
(set/rename-keys {:dbname :db})
kdb/mysql))
(database->connection-details [_ {:keys [details]}]
details)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment