(No version information available, might only be in Git)
Collection::count — Get document count
This functionality is similar to a SELECT COUNT(*) SQL operation against the MySQL server for the current schema and collection. In other words, it counts the number of documents in the collection.
此函数没有参数。
The number of documents in the collection.