lithium\data\source\MongoDb::fields()

public method

Return formatted identifiers for fields.

MongoDB does nt require field identifer escaping; as a result, this method is not implemented.

Parameters

  • array $fields

    Fields to be parsed

  • object $context

Returns

array

Parsed fields array

Source

	public function fields($fields, $context) {
		return $fields ?: [];
	}