Skip to content

Commit 4ea1d20

Browse files
committed
merged store
2 parents ba963de + 33db456 commit 4ea1d20

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Initialization and document saving
6666
6767
conn = Connection()
6868
conn.createDatabase(name = "test_db")
69-
db = self.conn["test_db"] #all databases are loaded automatically into the connection and are accessible in this fashion
69+
db = conn["test_db"] #all databases are loaded automatically into the connection and are accessible in this fashion
7070
collection = db.createCollection(name = "users") #all collections are also loaded automatically
7171
# collection.delete() # self explanatory
7272

examples/createSocialGraph.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ def __init__(self):
3636
if self.db.hasGraph('social'):
3737
raise Exception("The social graph was already provisioned! remove it first")
3838

39-
self.female = self.db.createCollection("female")
40-
self.male = self.db.createCollection("male")
39+
self.female = self.db.createCollection('Collection', "female")
40+
self.male = self.db.createCollection('Collection', "male")
4141

42-
self.relation = self.db.createCollection("relation")
42+
self.relation = self.db.createCollection('Edges', "relation")
4343

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

0 commit comments

Comments
 (0)