zoukankan      html  css  js  c++  java
  • pymongo

    pymongo操作 MongoDB的一些方法:

    .数据库.表.delete_one(  )

    .数据库.表.insert_one(   )    新增一条   字典类

    .数据库.表.insert_many(   )   新增多条 字典类

    .数据库.表.replace_one(   )

    .数据库.表.update_one(    )

    .数据库.表.find_one_and_delete(   )

    .数据库.表.find_one_and_replace(   )

    .数据库.表.find_one_and_update(   )

                  - :meth:`~pymongo.collection.Collection.bulk_write`, as long as
                    :class:`~pymongo.operations.UpdateMany` or
                    :class:`~pymongo.operations.DeleteMany` are not included.
                  - :meth:`~pymongo.collection.Collection.delete_one`
                  - :meth:`~pymongo.collection.Collection.insert_one`
                  - :meth:`~pymongo.collection.Collection.insert_many`
                  - :meth:`~pymongo.collection.Collection.replace_one`
                  - :meth:`~pymongo.collection.Collection.update_one`
                  - :meth:`~pymongo.collection.Collection.find_one_and_delete`
                  - :meth:`~pymongo.collection.Collection.find_one_and_replace`
                  - :meth:`~pymongo.collection.Collection.find_one_and_update`
  • 相关阅读:
    【转载】#349
    【转载】#346
    【转载】#344
    【转载】#336
    【转载】#335
    【转载】#330
    【转载】#324
    win2008远程桌面卡顿和上传慢的解决方法
    sql2005导出数据字典
    第03组 Alpha冲刺 (6/6)
  • 原文地址:https://www.cnblogs.com/sdosun/p/13380160.html
Copyright © 2011-2022 走看看