Browsing index pages (2 articles)
↧
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 ArticleAnswer 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
Browsing index pages (2 articles)