It is nice to have a String => DBObject implicit in scope, as it means queries can be written as Strings.
However, when passing parameters to the query (e.g. using String.format) one can often forget to serialise the object manually.
This RFE is to come up with an implicit approach that auto serialises the queries – even wrapping text strings with quotation marks if needed, and inserting some constants such as {$exists: true}.
It is nice to have a
String => DBObject
implicit in scope, as it means queries can be written asString
s.However, when passing parameters to the query (e.g. using
String.format
) one can often forget to serialise the object manually.This RFE is to come up with an implicit approach that auto serialises the queries – even wrapping text strings with quotation marks if needed, and inserting some constants such as
{$exists: true}
.