@midwayjs/casbin-typeorm-adapterClassesTypeORMAdapterVersion: NextSur cette pageTypeORMAdapter TypeORMAdapter represents the TypeORM filtered adapter for policy storage.HierarchyBaseAdapter<GenericCasbinRule>TypeORMAdapterIndex ConstructorsconstructorMethodsaddPolicyisFilteredloadFilteredPolicyloadPolicyremoveFilteredPolicyremovePolicysavePolicyConstructors constructornew TypeORMAdapter(dataSource: DataSource, options: TypeORMAdapterConfig): TypeORMAdapterMethods addPolicyaddPolicy(sec: string, ptype: string, rule: string[]): Promise<void>isFilteredisFiltered(): booleanloadFilteredPolicyloadFilteredPolicy(model: Model, filter: any): Promise<void>loadPolicyloadPolicy(model: Model): Promise<void>removeFilteredPolicyremoveFilteredPolicy(sec: string, ptype: string, fieldIndex: number, ...fieldValues: string[]): Promise<void>removePolicyremovePolicy(sec: string, ptype: string, rule: string[]): Promise<void>savePolicysavePolicy(model: Model): Promise<boolean>
TypeORMAdapter represents the TypeORM filtered adapter for policy storage.