Can I get the result of mongodb_driver "command" function as stream?

Hi !,

I want to access the result fo “command” function of mongo_driver (Mongo — mongodb-driver v1.6.3) as stream.

Other functions like “find” return the stream (cursor), but the “command” function returns only parts of the result.

When I call ,
Mongo.command(conn, [find: "My_Collection" , filter: %{}])

it returns

  {:ok,
     %{
           "cursor" => %{
              "firstBatch" => [
                            %{  DOC }, 
                            %{  DOC }, 
                             ....
                           ]

only some parts of the DOCs is in the “firstBatch” list.

Can I get the result of “command” function as stream ? ( I want to get the whole result DOCs.)

Or , how can I get the whole result of the “command” function call ?

Thanks,