Quantcast
Channel: How do I apply a PostgreSQL function to a query using Clojure? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Eugene Pakhomov for How do I apply a PostgreSQL function to a query...

You're using HoneySQL, so calling a PostgreSQL function should be done via HoneySQL's DSL. The relevant part is described here.As for your specific question, it's unclear what the lower function must...

View Article


How do I apply a PostgreSQL function to a query using Clojure?

(ns training-clj.querys (:require [honey.sql :as honey] [next.jdbc.sql :as jdbc]))(defn get-by-username [db username] (let [query (honey/format {:select [:*] :from [:user] :where [:= :username...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images