src/Laito/Database.php
private function getWhereInString()
    {
        // String holder
        $string = '';

        // If there are not where in conditions, return empty
        if (!count($this->whereIn)) {
            return $string;
        }

        // Iterate where creating the full conditions
        foreach ($this->whereIn as $where) {
            $string .= ' AND ' . $where['column'] . ' IN (' . implode(', ', $where['values']) . ')';
        }

        // Return complete where in string
        return $string;
    }
private function getWhereInString()
    {
        // String holder
        $string = '';

        // If there are not where in conditions, return empty
        if (!count($this->whereIn)) {
            return $string;
        }

        // Iterate where creating the full conditions
        foreach ($this->whereIn as $where) {
            $string .= ' AND ' . $where['column'] . ' IN (' . implode(', ', $where['values']) . ')';
        }

        // Return complete where in string
        return $string;
    }
private function getWhereInString ( ) { // String holder $ string = '' ; // If there are not where in conditions, return empty if ( ! count ( $ this -> whereIn ) ) { return $ string ; } // Iterate where creating the full conditions foreach ( $ this -> whereIn as $ where ) { $ string .= ' AND ' . $ where [ 'column' ] . ' IN (' . implode ( ', ' , $ where [ 'values' ] ) . ')' ; } // Return complete where in string return $ string ; }
Returns the where in array as a WHERE IN string

@return string WHERE string
Returns the where in array as a WHERE IN string