-
This is/should-be valid HugSQL because it is valid PSQL (works correctly in Yesql).
```
SELECT * FROM "the_table"
WHERE id = :key::bigint
```
But it will generate
```
SELECT * FROM "the_table" WHE…
-
I'm using sqlite and yesql in my project (but not luminus). I need the snake-case and camel-case functionality and thought I'd try and give conman a go.
I was connecting successfully using pure yesq…
simax updated
8 years ago
-
Trying to insert/update Postgres arrays from Clojure vectors. With korma and yesql, all I had to do was:
```
(extend-protocol clojure.java.jdbc/ISQLParameter
clojure.lang.IPersistentVector
(set-p…
-
YeSQL allows you to suffix your sql fns with
-
I'm currently using Yesql in Luminus, but I'd like to either switch to HugSQL or support it as an alternative. Currently, I manage the connection using the [conman](https://github.com/luminus-framewor…
-
I was translating some queries from yesql, and I ended up having a typo where the name key looked like `-- :name:`, it took me a little bit to track it down since the stack shows:
```
Caused by: java…
-
My dependencies
``` clojure
[com.andrewmcveigh/cljs-time "0.3.14"]
[org.clojure/clojurescript "1.7.122" :scope "provided"]
[lein-figwheel "0.4.1"]
```
Just copy code from README to get start
…
b1412 updated
8 years ago
-
# Synopsis
Something like [Yesql](https://github.com/krisajenkins/yesql), including an ASDF extension. Comments are used to separate and define SQL functions, e.g.:
``` sql
-- crane: (find-patients …
-
Quoting from `database.md`:
```
Conventionally the queries are placed in the
resources/sql/queries.sql file. However, once your
application grows you may consider splitting the
queries into multip…
winks updated
8 years ago
-
Now that we've moved away from Korma to YeSQL, we no longer have a way to easily execute one-off admin queries. It would be nice to have a way to do that again, possibly via [yesql.generate/generate-q…