public static function dump($where = [], $columns = [])
    {
        $columns = (empty($columns))
            ? static::COLUMNS
            : array_values(self::getTypedColumns($columns));

        $database = self::getDatabase();
        return $database->select(static::TABLE, $columns, $where);
    }
public static function dump($where = [], $columns = [])
    {
        $columns = (empty($columns))
            ? static::COLUMNS
            : array_values(self::getTypedColumns($columns));

        $database = self::getDatabase();
        return $database->select(static::TABLE, $columns, $where);
    }
public static function dump ( $ where = [ ] , $ columns = [ ] ) { $ columns = ( empty ( $ columns ) ) ? static :: COLUMNS : array_values ( self :: getTypedColumns ( $ columns ) ) ; $ database = self :: getDatabase ( ) ; return $ database -> select ( static :: TABLE , $ columns , $ where ) ; }
Returns data in model's Table

@param mixed[]  $where   \Medoo\Medoo where clause
@param string[] $columns Specify which columns you want

@return array[]

@throws UnknownColumnException If any item in $columns is invalid
@see getTypedColumns()
Returns data in model s Table