When using the API on a collection, how would you search entries that contain a specific string?
Using Mongo syntax, I’d do something like {"title":/word/}, but it doesn’t like that. Also tried wrapping quotes around it or use .* and the likes. The SQL % also doesn’t seem to work. I suppose it’s just trying to search for the literal string and look for a 100% match.
Does anyone know?
Also, let’s say I want to search in two fields, for example title and description, would that be possible? And it would be even nicer if I could use equivalents of AND and OR, if I want a string to be present in both fields or either one.