Docs: consider mentioning :identifiers and :as-rows? options
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- clojure
调研方向
先阅读官方指南和 jdbc.core/fetch 的 docstring,然后对照 issue 中链接的现有 jdbc.resultset 文档。记录 :identifiers 和 :as-rows? 选项,包括 identifiers 如何影响获取结果的键,并在适当情况下包含所示的使用上下文。
由索引模型根据 Issue 内容生成。
描述
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 docs):
(ns foo.bar
(:require [camel-snake-kebab.core :as csk]
[jdbc.core :as jdbc]))
...
(jdbc/fetch conn sql {:identifiers csk/->kebab-case-keyword})
- 主要语言
- Clojure
- 星标
- 106
- 派生
- 23
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
funcool/clojure.jdbc 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
funcool/clojure.jdbc#46 ·
-
难度 3/5 1-2 天 新手友好度 35/100
funcool/clojure.jdbc#44 · 4 条评论 ·
-
难度 3/5 1-2 天 新手友好度 28/100
funcool/clojure.jdbc#43 ·
-
难度 4/5 3-5 天 新手友好度 35/100
funcool/clojure.jdbc#38 · 4 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
funcool/clojure.jdbc#32 · 1 条评论 · 1 个 reaction ·
查看 funcool/clojure.jdbc 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
clojure-emacs/cider#4203 ·
-
.Team/QueryingPlatform Priority:P2
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
clj-commons/antq#329 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 90/100