File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ not have classes declared to interact with it.
70
70
71
71
So let's start over in this scenario.
72
72
73
- You can may use the ``dj.list_schemas `` function (new in DataJoint 0.12.0) to
73
+ You may use the ``dj.list_schemas `` function (new in DataJoint 0.12.0) to
74
74
list the names of database schemas available to you.
75
75
76
76
.. code-block :: python
@@ -112,13 +112,13 @@ these tables. A similar situation arises when another developer has added new
112
112
tables to the schema but has not yet shared the updated module code with you.
113
113
Then the diagram will show a mixture of class names and database table names.
114
114
115
- Now you may use the ``schema. spawn_missing_classes `` method to spawn classes into
115
+ Now you may use the ``spawn_missing_classes `` method to spawn classes into
116
116
the local namespace for any tables missing their classes:
117
117
118
118
.. code-block :: python
119
119
120
120
schema.spawn_missing_classes()
121
- dj.Di (schema)
121
+ dj.Diagram (schema)
122
122
123
123
.. figure :: spawned-classes-ERD.svg
124
124
:align: center
@@ -165,7 +165,7 @@ the table classes.
165
165
166
166
.. code-block :: python
167
167
168
- dj.Di (uni)
168
+ dj.Diagram (uni)
169
169
170
170
.. figure :: added-example-ERD.svg
171
171
:align: center
@@ -229,7 +229,7 @@ decorator for declaring new tables:
229
229
230
230
.. code-block :: python
231
231
232
- dj.Di (uni)
232
+ dj.Diagram (uni)
233
233
234
234
.. figure :: added-example-ERD.svg
235
235
:align: center
You can’t perform that action at this time.
0 commit comments