routier-collection / plugins/mongodb/src / toFieldPath
Function: toFieldPath()
toFieldPath(
prop):string
Defined in: plugins/mongodb/src/mql.ts:123
Storage-side dotted path for a property.
Each segment resolves through from, so a renamed nested property addresses the name that is actually stored rather than the name the schema exposes. Mongo reads a.b.c natively, which is why nested filtering works here and not in the SQL plugins.
Parameters
prop
PropertyExpression
Returns
string