update jdbc example
This commit is contained in:
parent
a707222d53
commit
a9dffec632
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ or run queries for you, it simply generates SQL strings. You can then pass them
|
||||||
to jdbc:
|
to jdbc:
|
||||||
|
|
||||||
```clj
|
```clj
|
||||||
(jdbc/execute! conn (sql/format sqlmap))
|
(jdbc/query conn (sql/format sqlmap))
|
||||||
```
|
```
|
||||||
|
|
||||||
You can build up SQL maps yourself or use helper functions. `build` is the Swiss Army Knife helper. It lets you leave out brackets here and there:
|
You can build up SQL maps yourself or use helper functions. `build` is the Swiss Army Knife helper. It lets you leave out brackets here and there:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue