I have the following class relationships and I have been wondering how to use "Like" operator.
class A(db.Model):
b = db.relationship("B")
class B(db.Model):
info = db.Column(db.String(20))
When I contract a query as:
q={"filters": [{"name":"b__info", "op":"like", "val": "M%"}],
..."order_by"... "page.."}
I am given these outputs
{
"message": "Unable to construct query"
}
If I should change "op" from "like" to "any", I won't get that error message.
Have you had any useful guidance on "like" Operator?
Thx
chfw