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
Mongodb
Image Information stored in,
Key
Is
Img
,
Value
For
Url
Array.
When I use
Php
Of
Mongodb
Extended to query,
Img
The 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 thatMongodb
Image Information stored in,Key
IsImg
,Value
ForUrl
Array.
When I usePhp
OfMongodb
Extended to query,Img
The 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 ()