Skip to content

Commit a788cde

Browse files
committed
Fix example code in pg_json_ops extension
1 parent 1c3305d commit a788cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sequel/extensions/pg_json_ops.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@
168168
#
169169
# On PostgreSQL 18+, strip_nulls can take an argument for whether to strip in arrays
170170
#
171-
# j.strip_nulls(true) # json_strip_nulls(json_column, true)
172-
# j.strip_nulls(false) # json_strip_nulls(json_column, false)
171+
# j.strip_nulls(in_arrays: true) # json_strip_nulls(json_column, true)
172+
# j.strip_nulls(in_arrays: false) # json_strip_nulls(json_column, false)
173173
#
174174
# If you are also using the pg_json extension, you should load it before
175175
# loading this extension. Doing so will allow you to use the #op method on

0 commit comments

Comments
 (0)