checkpoint
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user