wolframresearch / mongolink Goto Github PK
View Code? Open in Web Editor NEWMongoLink is a package for interacting with MongoDB inside the Wolfram Language.
License: Apache License 2.0
MongoLink is a package for interacting with MongoDB inside the Wolfram Language.
License: Apache License 2.0
ToMillisecondUnixTime[] truncates milliseconds when it converts DateObject[]'s to milliseconds from epoch. As a result, you can't perform sub-second date/time queries. That prevents efficiently finding records in the case where you might be looking for records in a 20ms window where you have records stored at 100 Hz. As a result of the truncation, you'd have to retrieve all ~100 records and find the subset within the window.
Need a fix along the lines in ACommon.m
:
ToMillisecondUnixTime[date_DateObject] := Module[
{sec,msec},
msec = date["Millisecond"];
If[MissingQ[msec], msec = 0, msec *= 10];
sec = date["Second"];
If[MissingQ[sec], sec = 0];
1000 * UnixTime[date] + msec
]
Additionally, it appears that on my Mac OS system, that DateObject[...]["Millisecond"] reports hundredths of seconds instead of milliseconds. I do not know how widespread that is and how one would detect it (maybe that's why this it's truncated?).
ReadME.me suggests to go to GH releases page in order to install the paclet. Yet the list is empty.
Is is possible to use mongodb Atlas with wolfram cloud?
I would like to request support for changes streams:
https://www.mongodb.com/docs/manual/changeStreams/
If available, it could be used in a HandlerFunction for asynchronous functions such as SessionSubmit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.