2016年12月19日 星期一

MongoDB Python pymongo

Install Anaconda
https://anaconda.org/anaconda/pymongo
conda install -c anaconda pymongo=3.3.0
from pymongo import MongoClient



MongoDB Queries
db.getCollection('SHCU_1Min_History').distinct( "Date", { $or: [ {"AskPrice1":{$gt:1.79e+308}}, {"AskPrice2":{$gt:1.79e+308}}, {"BidPrice1":{$gt:1.79e+308}}, {"BidPrice2":{$gt:1.79e+308}} ] } )

沒有留言:

張貼留言

2023 Promox on Morefine N6000 16GB 512GB

2023 Promox on Morefine N6000 16GB 512GB Software Etcher 100MB (not but can be rufus-4.3.exe 1.4MB) Proxmox VE 7.4 ISO Installer (1st ISO re...