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?
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?