pub fn row_condition(
schema: &Schema,
ctx: Option<&Context>,
action: &str,
) -> Result<Option<Value>, String>Expand description
读/写行条件:按 action 取 read / write 引用键,逐键生成 $in 条件并 $and。
ctx: None→None(沿用「无 ctx = 系统内部调用跳过权限」契约);read用于查询;update/remove用于批量写行收紧(使用write键);write缺省 = 该键只读控,写路径不生成条件。