The problem I encountered now is the image information stored by others in mongodb. The key is img, and the value is a url array. When I use the mongodb extension of php to query, the img domain returns a string, but what I want to get is the saved array object. Is there any way to get one... the problem I encountered is that
MongodbImage Information stored in,
KeyIs
Img,
ValueFor
UrlArray.
When I use
PhpOf
MongodbExtended to query,
ImgThe returned field is a string, but what I want to get is the stored array object. Is there any way to get an array object?
Which of the following statements is used for my query?
Export cursor: find ()This API. I am also the first time using NoSQL databases ..
Reply content:
The problem I encountered is thatMongodbImage Information stored in,KeyIsImg,ValueForUrlArray.
When I usePhpOfMongodbExtended to query,ImgThe returned field is a string, but what I want to get is the stored array object. Is there any way to get an array object?
Which of the following statements is used for my query?Export cursor: find ()This API. I am also the first time using NoSQL databases ..
I have never used it, noYou can try to save json_encode ()