Mongolid\DataMapper\DataMapper::all PHP Method

all() public method

Retrieve a database cursor that will return all documents as $this->schema->entityClass objects upon iteration.
public all ( ) : Cursor
return Mongolid\Cursor\Cursor
    public function all() : Cursor
    {
        return $this->where([]);
    }