v0.0.9
Added
- query filter support lambda function,it can realize the purpose of query condition transformation
@crud(
user_router,
feature="user",
query={
"filter": lambda x: {"$and": [*x["$and"], {
"is_active": True,
}]}
},
serialize={
"base": UserPublic,
}
)