Implement $upsert operation #25

Closed
adamansky opened this Issue Jan 2, 2013 · 0 comments

Projects

None yet

1 participant

@adamansky
Member

Like this: db.update('mycoll', {<selection fields> $upsert : {foo : 'bar'}} => new document will saved {foo : 'bar'} if query is not matched to any of stored records.

@adamansky adamansky added a commit that referenced this issue Jan 2, 2013
@adamansky adamansky * Added `$upsert` opration (ticket #25)
 * Expose ejdb transactions API in Nodejs binding (ticket #22)
4245565
@adamansky adamansky closed this Jan 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment