nl_tokens: Create Scope Query We dont pass complete context because we expect specific behaviour
pl_tokens: function ( next ) { var options = { type : ctx . type , count : ctx . count , now : ctx . now , nowISOString : ctx . nowISOString , params : { pk : Model . getIdName ( ) , id : ctx . params . id , relation : ctx . params . relation , custom : ctx . params . custom } } ; if ( ctx . type === 'model' ) { options . params . where = ctx . params . where ; options . params . range = ctx . params . range ; } <mask> _queryBuilder2 . default ( options ) . onComplete ( next ) . build ( ) ; }