elbywan / moongoon Goto Github PK
View Code? Open in Web Editor NEWAn object-document mapper for MongoDB. ๐
Home Page: https://elbywan.github.io/moongoon/
License: MIT License
An object-document mapper for MongoDB. ๐
Home Page: https://elbywan.github.io/moongoon/
License: MIT License
Hello,
Does Mongoon support multi DB connection?
Sorry if this is kind of a dumb question...but I'm accustomed to including timestamps in a Mongoid class definition to automatically generate created_at and updated_at fields.
Is there an equivalent in Mongoon?
Thanks!
Marc
Hello
Dear, Maintainer.
I had try crystal and use moongoon to work with mongodb but when i run shards install
the git log causing error like this :
Failed git log -n 1 196d1e9830dad9ecd1aef758da41fc712cb33c86 (). Maybe a commit, branch or file doesn't exist?
How can i resolve this?
Thank you
Hi,
When I attempt to include moongoon on an M1 Mac running 11.5.2 I get the attached error.
error.txt
Same code runs fine on Ubuntu. I've tried reinstalling gmp through Brew and am running the latest version.
Same code without Moongoon compiles with no issue.
Thanks!
Marc
Hello,
Does Moongoon support Mongo version 4 (latest is 4.4.6)?
I'm not sure how tenable this is, but my documents tend to be larger/more complex and update() currently sends the entire document over the wire to mongo... it would be great if when you set any of the properties the fact that that field was touched got recorded somehow and ONLY updated fields were pushed to mongo?
Please close this issue if you think it's not feasible or a bad idea... I can't think how to do it using property
s, and moving to something like a field
macro instead with custom "dirty" logic would be a large breaking change. Something to mull over, thanks!
Hi,
Firstly, thanks for all the work on this project. We're looking at transitioning to Crystal for some work, and this shard is making that possible.
I seem to have run into an aggregation issue though.
I have the following pipeline defined:
aggregation_pipeline(
{
"$sort": {"md": 1}
},
{
"$group": {
"_id": {
"md": "$md"
},
"data": {
"$addToSet": "$$ROOT"
}
}
}
)
This results in _id being an Int rather than an ObjectId. The query works fine in the MongoDB shell. Unfortunately it generates an exception:
Unhandled exception: Unable to deserialize key (_id) having value (BSON(@DaTa=Bytes[13, 0, 0, 0, 16, 109, 100, 0, 212, 7, 241, 95, 0])) and of type (BSON) belonging to type 'Fives'. Expected type(s) '[BSON::ObjectId]'. (Exception)
Any idea what I've done wrong?
Thanks,
Mark
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.