GraphLookup constructor
GraphLookup({})
Implementation
GraphLookup(
{required String from,
required String startWith,
required String connectFromField,
required String connectToField,
required String as,
int? maxDepth,
String? depthField,
restrictSearchWithMatch})
: super(
'graphLookup',
AEObject({
'from': from,
'startWith': '\$$startWith',
'connectFromField': connectFromField,
'connectToField': connectToField,
'as': as,
if (maxDepth != null) 'maxDepth': maxDepth,
if (depthField != null) 'depthField': depthField,
if (restrictSearchWithMatch != null)
'restrictSearchWithMatch':
_getRestrictSearchWithMatch(restrictSearchWithMatch)
}));