Skip to content

Commit

Permalink
refactor(export): expose CommandCursor
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard authored and daprahamian committed Aug 2, 2018
1 parent 6ef85c4 commit 64027e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ connect.MongoNetworkError = core.MongoNetworkError;

// Actual driver classes exported
connect.Admin = require('./lib/admin');
connect.AggregationCursor = require('./lib/aggregation_cursor');
connect.MongoClient = require('./lib/mongo_client');
connect.Db = require('./lib/db');
connect.Collection = require('./lib/collection');
Expand All @@ -24,6 +23,8 @@ connect.ReadPreference = require('mongodb-core').ReadPreference;
connect.GridStore = require('./lib/gridfs/grid_store');
connect.Chunk = require('./lib/gridfs/chunk');
connect.Logger = core.Logger;
connect.AggregationCursor = require('./lib/aggregation_cursor');
connect.CommandCursor = require('./lib/command_cursor');
connect.Cursor = require('./lib/cursor');
connect.GridFSBucket = require('./lib/gridfs-stream');
// Exported to be used in tests not to be used anywhere else
Expand Down

0 comments on commit 64027e8

Please sign in to comment.