Gets the column 'schema' for a given MongoDB collection. Only returns a schema if the
'schema' configuration flag has been set in the constructor.
public describe ( mixed $collection, mixed $fields = [], array $meta = [] ) : array | ||
$collection | mixed | Specifies a collection name for which the schema should be queried. |
$fields | mixed | Any schema data pre-defined by the model. |
$meta | array | Any meta information pre-defined in the model. |
return | array | Returns an associative array describing the given collection's schema. |