We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud_api.db_add()指令中,data数据是写死的,如何传递动态数据[](url) resp = cloud_api.db_add( json_body={"env": env, "query": 'db.collection("example").add({data: [{age: 12}]})'} ) 如何修改data数据
cloud_api.db_add()指令中,data数据是写死的,如何传递动态数据[](url)
resp = cloud_api.db_add( json_body={"env": env, "query": 'db.collection("example").add({data: [{age: 12}]})'} )
The text was updated successfully, but these errors were encountered:
这里 'db.collection("example").add({data: [{age: 12}]})' 是query 参数的值,需要整体替换掉,语法类似于mongodb,可以参考小程序的文档
Sorry, something went wrong.
No branches or pull requests
cloud_api.db_add()指令中,data数据是写死的,如何传递动态数据[](url)
resp = cloud_api.db_add( json_body={"env": env, "query": 'db.collection("example").add({data: [{age: 12}]})'} )
如何修改data数据
The text was updated successfully, but these errors were encountered: