GoLang MongoCursorInterface::info

request it (287)
GoLang replacement for PHP's MongoCursorInterface::info [edit | history]



Do you know a GoLang replacement for PHP's MongoCursorInterface::info? Write it!

PHP MongoCursorInterface::info

PHP original manual for MongoCursorInterface::info [ show | php.net ]

MongoCursorInterface::info

(PECL mongo >=1.5.0)

MongoCursorInterface::infoGets information about the cursor's creation and iteration

Description

abstract public array MongoCursorInterface::info ( void )

Returns information about the cursor's creation and iteration. This can be called before or after the cursor has started iterating.

Parameters

This function has no parameters.

Return Values

Returns the namespace, batch size, limit, skip, flags, query, and projected fields for this cursor. If the cursor has started iterating, additional information about iteration and the connection will be included.