buildCursor() public method Builds the Mongo cursor for this query. public \MongoDB\Driver\Cursor buildCursor ( $db = null )$db yii\mongodb\Connection The database connection used to execute the query. return \MongoDB\Driver\Cursor Mongo cursor instance.
all() public method Executes query and returns all results as an array. public array|yii\mongodb\file\ActiveRecord all ( $db = null )$db yii\mongodb\Connection The Mongo connection used to execute the query. If null, the Mongo connection returned by $modelClass will be used. return array|yii\mongodb\file\ActiveRecord The query results. If the query results in nothing, an empty array will be returned.
$collection public read-only property Collection instance. public yii\mongodb\file\Collection getCollection ( $db = null )
getName() public method public string getName ( )return string The user-friendly name of this exception
init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )
hasExplain() protected method protected boolean hasExplain ( )return boolean Whether the DB component has support for EXPLAIN queries
getSummaryName() public method public string getSummaryName ( )return string Short name of the panel, which will be use in summary.
getQueryType() protected method Returns database query type. protected string getQueryType ( $timing )$timing string Timing procedure string return string Query type such as select, insert, delete, etc.
getProfileLogs() public method Returns all profile logs of the current request for this panel. public array getProfileLogs ( )
getName() public method public string getName ( )return string Name of the panel
Page 219 of 633