Skip to content
Snippets Groups Projects
Commit 7b130ad9 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix issue where `:id` was not included on database when creating the connection :scream:

parent 30a85023
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
(defn process-and-run
"Process and run a native (raw SQL) QUERY."
[driver {{sql :query} :native, database-id :database, settings :settings}]
(try (let [database (sel :one :fields [Database :engine :details] :id database-id)
(try (let [database (sel :one :fields [Database :id :engine :details] :id database-id)
db-conn (sql/db->jdbc-connection-spec database)]
(jdbc/with-db-transaction [t-conn db-conn]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment