Примеры
mongo_close
Mongo
PHP Manual

# Mongo Функции

## Содержание

- mongo_close — Closes a connection to the database
- mongo_connect — Connects to a database
- mongo_find_one — Queries the database for a single record
- mongo_gridchunk_data — Returns the contents of a chunk
- mongo_gridchunk_get — Return a chunk of a given file
- mongo_gridchunk_size — The size of a given chunk
- mongo_gridfile_chunk_num — Returns the number of chunks a file is composed of
- mongo_gridfile_chunk_size — Finds the size of chunks used by a grid file
- mongo_gridfile_exists — Checks if a gridfile exists
- mongo_gridfile_filename — Returns the name of a grid file
- mongo_gridfile_size — Returns the size of a grid file
- mongo_gridfile_write — Write a file from the database to the local filesystem
- mongo_gridfs_find — Find a file in the database
- mongo_gridfs_init — Creates a new gridfs connection
- mongo_gridfs_list — Query for files in the grid collection
- mongo_gridfs_store — Store a file in the database
- mongo_has_next — Checks if a cursor has any more documents to return
- mongo_insert — Inserts an array into a database collection
- mongo_next — Fetches the next document returned by a query
- mongo_query — Performs a basic database query
- mongo_remove — Removes documents from a database collection
- mongo_update — Updates objects in a database collection

Примеры
mongo_close
Mongo
PHP Manual