funcool / funcool/clojure.jdbc

Docs: consider mentioning :identifiers and :as-rows? options

オープン
#40 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Clojure
スター
106
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

説明

The official guide could be enhanced with some mentions of `:identifiers` and `:as-rows?`.

Specifically, I recall I spent some time before I figured out how to "kebab-case-keyword"-ize the fetched results as there's nothing about it directly in `jdbc.core/fetch` docstring (they are mentioned in [jdbc.resultset](https://github.com/funcool/clojure.jdbc/blob/775cb9ecc68e6f1898943044ecc226920244d057/src/jdbc/resultset.clj#L32) docs):

```clj
(ns foo.bar
(:require [camel-snake-kebab.core :as csk]
[jdbc.core :as jdbc]))
...
(jdbc/fetch conn sql {:identifiers csk/->kebab-case-keyword})
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。