Open blesson3 opened 8 years ago
Found that the Advanced Querying operators include the $regex
operator, which is not found in the tutorial documentation https://github.com/adewes/blitzdb/blob/master/docs/source/tutorials/basics.rst#advanced-querying
Can the Blitz team confirm the above comment is a supported and recommended approach for now and the future to solve this issue?
What is the syntax for filtering by wildcard using a FileBackend?
Ex. I have a Dog document class that has one object persisted with the properties of
{ 'name':'fido', 'color':'brown', 'owner':'Joe Smith' }
I want to be able to filter through all of the persisted dog objects with a wildcard like so,dogs = backend.filter(Dog, { 'owner': { '$LIKE': 'Joe%' } })
and have the object specified above to be returned in an array.Is this already supported in any fashion? If not, then is there any movement to support this?