nl_tokens: Adds a single WHERE clause to an existing base clause for a single request . query parameter .
pl_tokens: function addWhereClause ( baseClause , k , v ) { if ( v . startsWith ( '>' ) ) { baseClause . where ( k , '>=' , v . substring ( 1 ) ) ; return } if ( v . startsWith ( '<' ) ) { baseClause . where ( k , '<=' , v . substring ( 1 ) ) ; return } if ( v . startsWith ( '~' ) ) { baseClause . where ( k , 'LIKE' , v . substring ( 1 ) ) ; return } if ( k . endsWith ( 'Id' ) ) { baseClause . where ( k . substring ( 0 , k . <mask> - 2 ) + '_id' , '=' , v ) ; return } baseClause . where ( k , '=' , v ) ; return }