database-proxy
Version:
Through a set of access control rules configuration database access to realize the client directly access the database via HTTP.
12 lines • 590 B
TypeScript
import { Handler } from '../../processor';
/**
* 本验证器应该加载为了缺省验证器,即用户未配置 join 时,也会进行缺省验证
* Join 联表的验证规则,可支持以下两种写法:
* 1. 配置可以与哪些表关联查询 join ["t1", "t2"]
* 2. 更详细的配置,指定关联字段,客户端关联字段需要于此一致
* 如果缺省,则使用配置作为默认字段 join { t1 ["leftid", "rightid"], t2 ["lid", "rid"] }
* @param config
* @param context
*/
export declare const JoinHandler: Handler;
//# sourceMappingURL=index.d.ts.map