mongo.cr icon indicating copy to clipboard operation
mongo.cr copied to clipboard

Crystal binding for MongoDB C Driver

Results 23 mongo.cr issues
Sort by recently updated
recently updated
newest added

memory fixes and crystal 0.30.1 update

When trying to execute the following query { $and: [ { "created_at": { $gte: ISODate("2020-05-01T00:00:00.000+0000") } }, { "created_at": { $lt: ISODate("2020-06-01T00:00:00.000+0000") } } ] } I've tried collection.find{ $and:...

hi, i hope somebody can upgrade mongo-c driver that higher than `1.1.0` , i always fail when trying to `make` mongo-c driver version `1.1.0` ``` src/mongoc/mongoc-stream-tls.c:134:5: error: dereferencing pointer to...

By running the homepage example in a containerized environment I'm getting the following error: ``` Unhandled exception: File not open for writing (IO::Error) from usr/share/crystal/src/crystal/system/unix/file_descriptor.cr:23:11 in 'unbuffered_write' from usr/share/crystal/src/io/buffered.cr:205:5 in...

Invalid memory access (signal 11) at address 0xa0 [4496293] *CallStack::print_backtrace:Int32 +117 [4468520] __crystal_sigfault_handler +56 [4875304] sigfault_handler +40 [139785657689056] ??? [139785662203494] ??? [139785662203690] mongoc_client_new +58 [4756622] *Mongo::Client#initialize:Nil +30 [4756561] *Mongo::Client::new:Mongo::Client +81...

Updated way to install mongodb driver for linux / ubuntu please accept first that merge request: #47

There was a bug that prevented joining the methods of `bulk_operation` with the execution method` execute`

Small fix for the the UTC breaking chances