Refer to the MongoDB input format SQL generator byPHP. In the past few days, refer to the representation of MongoDB input parameter formats such as find ({a: 1, $ or: {c: 1, B: 2, this input method parses the data and outputs an array with the analytical data. in this case, you can refer to the input parameter format of MongoDB in the past few days. find ({a: 1, $ or: {c: 1, B: 2}) indicates that the input method parses the data and outputs an array with the analysis data, so that the subsequent class usage does not know whether this design method is practical or not, and the comments in it may be wrong. after all, you can copy and paste your own source code. For more information, see the attachment, the test data is posted here to show what I want to do. please give me some advice (it is so difficult to paste a code)
Array
(
[Parameters] => Array
(
[P11] => 1
[P12] => foo
[P13] => 1
[P14] => 3
)
[Into] => t1
[Write] => ('a' =: p11, 'C' =: p12)
[Detail] => Array
(
[Where] => Array
(
[C] => 1
[A] => 1
)
)
[Query] => 'C' =: p13 and 'A' =: p14
[SQL] => UPDATE 't1 'C' =: p13 and 'A' =: p14 SET ('a' =: p11, 'C' =: p12) WHERE 'C' =: p13 and 'A' =: p14
)
Struct find ({a: 1, $ or: {c: 1, B: 2, this input method parses the data and outputs an array with the analytical data...