Skip to content

Commit

Permalink
merged store
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqdaouda committed Jun 11, 2017
2 parents ba963de + 33db456 commit 4ea1d20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Initialization and document saving
conn = Connection()
conn.createDatabase(name = "test_db")
db = self.conn["test_db"] #all databases are loaded automatically into the connection and are accessible in this fashion
db = conn["test_db"] #all databases are loaded automatically into the connection and are accessible in this fashion
collection = db.createCollection(name = "users") #all collections are also loaded automatically
# collection.delete() # self explanatory
Expand Down
6 changes: 3 additions & 3 deletions examples/createSocialGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ def __init__(self):
if self.db.hasGraph('social'):
raise Exception("The social graph was already provisioned! remove it first")

self.female = self.db.createCollection("female")
self.male = self.db.createCollection("male")
self.female = self.db.createCollection('Collection', "female")
self.male = self.db.createCollection('Collection', "male")

self.relation = self.db.createCollection("relation")
self.relation = self.db.createCollection('Edges', "relation")

g = self.db.createGraph("social")

Expand Down

0 comments on commit 4ea1d20

Please sign in to comment.