improve docstring formatting

This commit is contained in:
Sean Corfield 2022-04-05 13:49:37 -07:00
parent 1c56645e62
commit 4104832be3

View file

@ -346,10 +346,12 @@
This allows you to write generic, `Connection`-based code without This allows you to write generic, `Connection`-based code without
needing to know the exact type of an incoming datasource: needing to know the exact type of an incoming datasource:
```clojure
(on-connection [conn datasource] (on-connection [conn datasource]
(let [metadata (.getMetadata conn) (let [metadata (.getMetadata conn)
catalog (.getCatalog conn)] catalog (.getCatalog conn)]
...)) ...))
```
If passed a `Connection` or a `Connectable` that wraps a `Connection`, If passed a `Connection` or a `Connectable` that wraps a `Connection`,
then that `Connection` is used as-is. then that `Connection` is used as-is.