src/bundles/Database/DB.php
public static function model( $model, $handler = null ) 
	{
		$model_data = call_user_func( $model.'::_model' );
		return Query::select( $model_data['table'], null, $model_data['handler'] )
			->fetch_handler( $model.'::_fetch_handler' );
	}
public static function model( $model, $handler = null ) 
	{
		$model_data = call_user_func( $model.'::_model' );
		return Query::select( $model_data['table'], null, $model_data['handler'] )
			->fetch_handler( $model.'::_fetch_handler' );
	}
public static function model ( $ model , $ handler = null ) { $ model_data = call_user_func ( $ model . '::_model' ) ; return Query :: select ( $ model_data [ 'table' ] , null , $ model_data [ 'handler' ] ) -> fetch_handler ( $ model . '::_fetch_handler' ) ; }
Create a select query with an model assignment

@param string		$table
@param array		$fields
@return mixed
Create a select query with an model assignment