protected function buildWhereForArray($primaryKeyValue)
    {
        $where = [];
        foreach ($primaryKeyValue as $key => $value) {
            $where[] = "{$key}='{$value}'";
        }

        return implode(' AND ', $where);
    }
protected function buildWhereForArray($primaryKeyValue)
    {
        $where = [];
        foreach ($primaryKeyValue as $key => $value) {
            $where[] = "{$key}='{$value}'";
        }

        return implode(' AND ', $where);
    }
protected function buildWhereForArray ( $ primaryKeyValue ) { $ where = [ ] ; foreach ( $ primaryKeyValue as $ key => $ value ) { $ where [ ] = "{$key}='{$value}'" ; } return implode ( ' AND ' , $ where ) ; }
Build SQL where for key-value array.

@param array $primaryKeyValue

@return string
Build SQL where for key - value array .