We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a1a30 commit cd0f6fbCopy full SHA for cd0f6fb
src/webserver/database/sql.rs
@@ -595,7 +595,9 @@ fn expr_to_stmt_param(arg: &mut Expr) -> Option<StmtParam> {
595
concat_args.push(function_arg_to_stmt_param(arg)?);
596
}
597
Some(StmtParam::Concat(concat_args))
598
- } else if func_name.eq_ignore_ascii_case("json_object") {
+ } else if func_name.eq_ignore_ascii_case("json_object")
599
+ || func_name.eq_ignore_ascii_case("json_build_object")
600
+ {
601
let mut json_obj_args = Vec::with_capacity(args.len());
602
for arg in args {
603
json_obj_args.push(function_arg_to_stmt_param(arg)?);
0 commit comments