如何使用Python将一个列从mongodb中的一个集合复制到另一个集合 [英] How can I copy one column from one collection to another collection in mongodb using Python

查看:681
本文介绍了如何使用Python将一个列从mongodb中的一个集合复制到另一个集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

这里我想将一个列从一个集合复制到另一个集合,并使用python语言在mongoDB中进行某些映射。

我有什么查询写。?

请帮忙。

提前致谢。



我尝试过:



Pymongo

Mongoclient

Os

Sys

Mongoconnection

$ eq

$ gte这些模块

Hello,
Here i want to copy one column from one collection to another collection with certain mapping in mongoDB using python language.
What is the query i have to write.?
Please help.
Thanks in advance.

What I have tried:

Pymongo
Mongoclient
Os
Sys
Mongoconnection
$eq
$gte these modules

推荐答案

eq


gte这些模块


这篇关于如何使用Python将一个列从mongodb中的一个集合复制到另一个集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆