Andrew Casey
b8f4d530d6
Merge pull request #30882 from mathieug/master
...
mongodb: Type parameter update of method findOneAndUpdate
2018-12-03 12:39:04 -08:00
Andrew Casey
9d224d7e3a
Merge pull request #30927 from dobesv/patch-6
...
[mongodb] Add hint to CollectionAggregationOptions
2018-12-03 12:38:07 -08:00
Dobes Vandermeer
49afe7ce39
Update index.d.ts
...
Object -> object
2018-12-03 11:42:33 -08:00
Andrew Casey
3a622351bc
Merge pull request #30890 from erikc5000/master
...
mongodb: Additions and fixes to existing definitions
2018-12-03 10:44:01 -08:00
Dobes Vandermeer
56761f59b8
Add hint to CollectionAggregationOptions
...
Although this option is, for some reason, not document. It is supported.
It follows the format specified here:
https://docs.mongodb.com/manual/reference/command/aggregate/
2018-11-29 12:40:58 -08:00
Erik Christensen
5cc01bba14
Fixed incorrect type for caseFirst in CollationDocument
2018-11-28 11:37:45 -05:00
Erik Christensen
f857ba9d66
Added CollationDocument type in a couple places that were missed
2018-11-28 11:17:01 -05:00
Mathieu Ghennassia
e8b63b0bda
mongodb: Type parameter update of method findOneAndUpdate
2018-11-28 11:52:15 +01:00
Yves Kaufmann
839378616b
remove double block comments
2018-11-25 18:57:36 +01:00
Yves Kaufmann
4e31c72dfd
[MONGODB] Fixes possible authMechanism values
2018-11-23 21:33:48 +01:00
Yves Kaufmann
2547248db2
[mongodb] Add authMechanism parameter and replaces line comments with block comments
2018-11-23 17:23:57 +01:00
Erik Christensen
a57ef63d3c
Added missing index spec and collation document interfaces
2018-11-21 15:21:03 -05:00
Erik Christensen
398bd65886
Remove inaccurate deprecation warning
2018-11-21 14:43:15 -05:00
Erik Christensen
cb3647d767
Added missing methods and properties along with result type for CommandCursor
2018-11-21 14:30:25 -05:00
Ron Buckton
e213806fb2
[mongodb] Make arrayFilters optional.
2018-10-28 16:26:56 -07:00
Wyatt Johnson
f70415ab95
review: fixes based on review
2018-10-25 10:29:52 -06:00
Wyatt Johnson
6b36894dee
feat: added arrayFilters to update operations, some cleanups
2018-10-23 18:07:17 -06:00
Krzysztof
13327ae0fc
[mongodb] Allow "date" type in $currentDate ( #29568 )
2018-10-09 11:12:21 -07:00
Florian Richter
53fa2492da
mongodb: Fixed incomplete types from #29429 ( #29546 )
...
* mongodb: Fixed incomplete types (#29429 )
* mongodb: Small fixes
2018-10-08 14:28:49 -07:00
hector7
e15cb60ee0
[mongodb] Checked TSchema on insert and update documents ( #29245 )
...
* Schema definition on insertOne, insertMany and update definitions. Added types as OptionalTSchema and UpdateQuery.
* added user on definitions by
* added missing properties and url docs
* added missing properties and url docs with test
* added missing properties and url docs with test
* changed OptionalTSchema to Partial, modified logic on update funcs, this will be more strict
2018-10-01 21:12:14 -07:00
Nathan Shively-Sanders
b36bc1402c
Merge pull request #29058 from lirbank/master
...
[mongodb] Add 'errmsg' prop to MongoError
2018-09-21 14:34:56 -07:00
Mikael Lirbank
52ecd09a4a
Update documentation with more details
2018-09-21 10:16:37 -07:00
Wyatt Johnson
fc759dcbef
feat: added AggregationCursor.hasNext
2018-09-20 21:55:27 -06:00
Mikael Lirbank
043cedd0a1
Update documentation
2018-09-20 11:37:07 -07:00
Mikael Lirbank
4b9c703808
Documentation
2018-09-20 09:34:30 -07:00
Mikael Lirbank
2cc1c0c18d
[mongodb] Add 'errmsg' prop to MongoError
2018-09-20 09:17:31 -07:00
various89
95d036d4b6
adds session and multi-document transactions to mongodb / mongoose ( #28745 )
...
* adds sessions and multi-document transactions
* avoid duplicate interfaces
extends options of GridFSBucketWriteStream
* adds type for options paramater of method withSession
2018-09-11 08:20:50 -07:00
Pierre Buyle
7c1ab4c1e9
Cursor's batchSize is optional in aggregate ( #28710 )
...
The `batchSize` property of the `cursor` option in `Collection.aggregate` is optional.
2018-09-10 14:53:20 -07:00
angela-1
6044dd7c47
add family option to mongodb SocketOptions ( #28748 )
...
* add family option to SocketOptions.
* give the family value of mongodb type SocketOptions.
2018-09-10 14:44:00 -07:00
Viktor Taranenko
21df98f98f
Added forEach variant returning promise
...
According to line 731 in [source](http://mongodb.github.io/node-mongodb-native/3.1/api/lib_cursor.js.html ), callback is optional and if not provided, the fuction returns Promise
2018-08-09 17:55:39 +01:00
Gady
0d4583d282
Remove Gady from contributors ( #27763 )
2018-08-01 11:38:40 -07:00
Jimmy Shimizu
253339569f
fix: Correct KeepAlive settings for 2.2 and 3.x versions ( #27753 )
2018-08-01 11:38:08 -07:00
error
43de02ea1d
add bson/Int32 to exports ( #27662 )
2018-07-30 11:08:07 -07:00
geraldinelemeur
b7ba5e828b
[mongodb] Cursor.next() resolves to null if no more documents. ( #27402 )
2018-07-20 18:00:59 -07:00
Will Koster
5d63e04d34
Fix type of mongodb.connect ( #27398 )
...
It had never been updated from 2.x. Fixes #23548 .
2018-07-20 17:51:22 -07:00
Wan Bachtiar
2dd2e60a64
[mongodb] Added countDocuments() and estimatedDocumentCount() ( #27008 )
...
* Added countDocuments() and estimatedDocumentCount() as count() is deprecated. See NODE-1501
* Added deprecated sign for count
* Format deprecated comment per review. Removed @kikar as requested.
2018-07-03 09:24:37 -07:00
Bastien Arata
4fd5b3efe1
✏️ remove double https
2018-06-29 11:43:33 +02:00
Bastien Arata
f5e6d9c019
🔀 merge upstream
2018-06-29 11:36:26 +02:00
Bastien Arata
abd3ec9113
✏️ add github profile
2018-06-29 11:32:17 +02:00
Andres Kalle
26e9425633
mongodb: improved overloads for Collection.aggregate()
2018-06-28 21:57:23 +03:00
Bastien Arata
d47edadb76
🔧 set property optional
2018-06-28 17:10:41 +02:00
Bastien Arata
3e31f0623d
🐛 add missing options for 3.1
2018-06-28 16:30:48 +02:00
Paul van Brenk
35b0085e6e
Merge pull request #26860 from Denys-Bushulyak/master
...
Update types/mongodb/index.d.ts
2018-06-26 15:41:17 -07:00
Andres Kalle
32ce4b62f6
mongodb: improved overloads for Collection.count()
2018-06-26 23:04:46 +03:00
Denys Bushulyak
e1b009a096
Update types/mongodb/index.d.ts
2018-06-26 21:55:14 +03:00
Bastien Arata
6549dfe6dd
🐛 fix missing options in CollectionBulkWriteOptions
...
http://mongodb.github.io/node-mongodb-native/3.0/api/Collection.html#bulkWrite
2018-06-22 18:19:36 +02:00
Bastien Arata
56fbdf8399
✏️ fix bulk spelling
2018-06-22 18:17:44 +02:00
Jordan Van Walleghem
d01f89083f
Merge branch 'master' into feature/mongodb-no-implicit-any
2018-06-18 23:08:06 +02:00
Jordan Van Walleghem
48996f6e0b
Fixed mongodb typings implicit any error
2018-06-18 18:43:19 +02:00
Kelvin Jin
2bed737401
[mongodb] use T as type rather than value
2018-06-15 16:49:40 -07:00