mongodb PHP客户端怎么获取单个document的大小?

WBOY
Release: 2016-06-06 20:49:22
Original
1009 people have browsed it

单个document有大小限制,我要储存的数据有点大,数据结构想尽可能不分割开。所以心里没底,想先检查一下。

刚查了一下PHP的文档,没找到获取单个document的方法。求教。

回复内容:

单个document有大小限制,我要储存的数据有点大,数据结构想尽可能不分割开。所以心里没底,想先检查一下。

刚查了一下PHP的文档,没找到获取单个document的方法。求教。

在stackoverflow上找到了这个。 http://stackoverflow.com/questions/10769845/to-insert-into-mongodb-does-the-size-of-document-converted-to-bson-change

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!