These days refer to MongoDB's incoming parameter format, find ({a:1, $or: {c:1,b:2}}), and write an array of data parsed by this incoming method and output with the analysis data, so that subsequent class use does not know whether the design method is practical, Inside the note may not write the wrong, after all, copy and paste their own also a lot of source code see the attachment, the results of the test data posted here to indicate what I want to do, welcome to the exchange of instructions (put a code is so difficult)
Array
(
[parameters] = = Array
(
[P11] = 1
[P12] = foo
[P13] = 1
[P14] = 3
)
[Into] = T1
[Write] = (' a ' =:p, ' c ' =:p 12)
[detail] = = Array
(
[WHERE] = = Array
(
[C] = 1
[A] = 1
)
)
[Query] = ' c ' =:p and ' a ' =:p 14
[SQL] + UPDATE ' t1 ' c ' =:p and ' a ' =:p SET (' a ' =:p one, ' c ' =:p) WHERE ' c ' =:p and ' a ' =:p 14
)
http://www.bkjia.com/PHPjc/478772.html www.bkjia.com true http://www.bkjia.com/PHPjc/478772.html techarticle these days refer to MongoDB's incoming parameter format, find ({a:1, $or: {c:1,b:2}}), and write a method that parses the data by this incoming method and outputs an array with analysis data so that ...