From e956428ac45dac7de9ecddaa395e2e7cf156b7c6 Mon Sep 17 00:00:00 2001 From: Kimmo Koskinen Date: Mon, 1 Feb 2021 19:03:16 +0200 Subject: [PATCH] Add rs/ alias to clob->string example --- doc/tips-and-tricks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tips-and-tricks.md b/doc/tips-and-tricks.md index 2c84eab..6f75106 100644 --- a/doc/tips-and-tricks.md +++ b/doc/tips-and-tricks.md @@ -21,9 +21,9 @@ There is a helper in `next.jdbc.result-set` to make this easier -- `clob->string (extend-protocol rs/ReadableColumn java.sql.Clob (read-column-by-label [^java.sql.Clob v _] - (clob->string v)) + (rs/clob->string v)) (read-column-by-index [^java.sql.Clob v _2 _3] - (clob->string v))) + (rs/clob->string v))) ``` As noted in [Result Set Builders](/doc/result-set-builders.md), there is also `clob-column-reader` that can be used with the `as-*-adapter` result set builder functions.