-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Description
Issue type:
[ ] question
[ ] bug report
[x] feature request
[ ] documentation issue
Can there be a find operator that is like Raw but will safely insert values like the query builder's where?
API
SafeRaw("title = :title", {title: "value"})
I would like it so that like can do something like this:
{
where: {
id: In(SafeRaw(
"select sluggableId from slug where slug in :slugs and sluggableType = :sluggableType",
{slugs: ['userInput'], sluggableType: Type.name}
))
}
}
Reactions are currently unavailable