checkpoint

This commit is contained in:
2026-04-14 13:06:53 -04:00
parent bfe3dd2e8c
commit 24adf3ffc6
2 changed files with 114 additions and 55 deletions

View File

@ -473,6 +473,15 @@ impl<'a> Compiler<'a> {
}
}
if let Some(ft) = r#type.field_types.as_ref().and_then(|v| v.as_object()) {
if let Some(pg_type) = ft.get(prop_key).and_then(|v| v.as_str()) {
if pg_type == "json" || pg_type == "jsonb" {
select_args.push(format!("'{}', {}.{}", prop_key, owner_alias, prop_key));
continue;
}
}
}
let child_node = Node {
schema: std::sync::Arc::clone(prop_schema),
parent_alias: owner_alias.clone(),