-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
- make Buffer#write support multiple arguments | |||
- refactor commands using send(command_id){ |buf| buf.write(:custom, data, :for, command) } | |||
- integrate collections method_missing api from jruby wrapper | |||
|
|||
- improved version of save | |||
- doInsert if not .keys.include?(:_id) | |||
- generate object id | |||
- use same algorithm as ObjectID.java | |||
- or perhaps, use modified uuid gem | |||
- doUpdate if :_id already exists | |||
|
|||
- add indexing api (ensureIndex) [ look at dbcollection.js ] | |||
|
|||
- support cursors | |||
- doGetMore to get more data from a cursor | |||
- doKillCursors to clean up |