Creates id value.
Creates id value.
Scala macro context
40 character hex number represented as a string. The string is already validated, so it only required to wrap it into DB Id representation.
created id.
Creates DB object from the List of parsed data.
Creates DB object from the List of parsed data.
Scala macro context
list of key/value pairs. The first parameter is a name of an object field, and the second one is an expression to be used as a value.
created object.
Creates regex literal.
Creates regex literal.
Scala macro context
regular expression to be wrapped.
options for this expression.
created regex.
This is mq interpolator entry point.
This is mqt interpolator entry point.
Parses parts provided by interpolator context.
Parses parts provided by interpolator context.
macro context
string parts to be parsed. The data is provided as a parts seprarated by substitutions. For example:
val name = "John Doe" val age = 42 mq"{ name : $$name, age: $$age }"
In this example parts will be: "{ name: ", ", age: " and " }"
Wraps object into DBType.
Wraps object into DBType.
Wraps values.
Wraps values.
This method is required to insert arguments between parts, wrap inlined ids, nested objects and lists.
Base macro implemenation without dependency to any MongoDB driver.
If you going to create MongoQuery implementation for your driver it a nice place to start to extend this trait.