Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ This library aims to extend the features of honeysql to support postgres specifi
```
### REPL
```clj
; Note that `honeysql-postgres.format` and `honeysql-postgres.helpers`
; must be required into the project for the extended features to work.
(require '[honeysql.core :as sql]
'[honeysql.helpers :refer :all]
'[honeysql-postgres.format :refer :all]
'[honeysql-postgres.helpers :as psqlh])
```

Expand Down
3 changes: 2 additions & 1 deletion src/honeysql_postgres/helpers.cljc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(ns honeysql-postgres.helpers
(:refer-clojure :exclude [partition-by])
(:require [honeysql.helpers :as sqlh #?(:clj :refer :cljs :refer-macros) [defhelper]]))
(:require [honeysql-postgres.format :refer :all]
[honeysql.helpers :as sqlh #?(:clj :refer :cljs :refer-macros) [defhelper]]))

;; Extension of the honeysql helper funcitons for postgreSQL

Expand Down
3 changes: 1 addition & 2 deletions test/honeysql_postgres/postgres_test.cljc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(ns honeysql-postgres.postgres-test
(:refer-clojure :exclude [update partition-by])
(:require [honeysql-postgres.format :as sqlpf]
[honeysql-postgres.helpers :as sqlph :refer [upsert on-conflict do-nothing on-conflict-constraint
(:require [honeysql-postgres.helpers :as sqlph :refer [upsert on-conflict do-nothing on-conflict-constraint
returning do-update-set do-update-set!
alter-table rename-column drop-column
add-column partition-by insert-into-as
Expand Down