Skip to content

Commit

Permalink
fix slt
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 committed Nov 1, 2023
1 parent 43a2fd4 commit cb35a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/expr/impl/src/scalar/jsonb_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ fn jsonb_build_array(args: impl Row) -> Result<JsonbVal> {
///
/// ```slt
/// query T
/// select jsonb_build_object('foo', 1, 2, row(3,'bar'));
/// select jsonb_build_object('foo', 1, 2, 'bar');
/// ----
/// {"foo": 1, "2": {"f1": 3, "f2": "bar"}}
/// {"foo": 1, "2": "bar"}
/// ```
#[function("jsonb_build_object(...) -> jsonb")]
fn jsonb_build_object(args: impl Row) -> Result<JsonbVal> {
Expand Down

0 comments on commit cb35a8e

Please sign in to comment.