forked from smallstep/nosql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit adds a MongoDB connector. A couple of things to note: - To enable transactions the database must a replica set, I made the connection fail if the condition was not met. MongoDB is a document database, thus concepts translate as: bucket/table = collection key = document value = document value Note: mongo will automatically create a collection if a operation is attempted on one that does not exist. For example: if you delete a table, then call list to check for the contents of the table it will be recreated. closes smallstep/certificates#141
- Loading branch information
1 parent
67b308c
commit d66f560
Showing
6 changed files
with
447 additions
and
12 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
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
Oops, something went wrong.