Module: sql-processors/where

Exports the where function.
Source:

Requires

  • module:lodash

Methods

(inner) where(condition, data) → {Array}

Executes the SQL WHERE statement on an Array of Objects.
Parameters:
Name Type Description
condition Object
data Array
Source:
Returns:
Type
Array