File tree 1 file changed +2
-2
lines changed
src/crate/client/doctests
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ Use user "crate" for rest of the tests::
104
104
105
105
>>> connection = client.connect([crate_host])
106
106
107
- Before executing any statement a cursor has to be opened to perform
107
+ Before executing any statement, a cursor has to be opened to perform
108
108
database operations::
109
109
110
110
>>> cursor = connection.cursor()
@@ -121,7 +121,7 @@ To bulk insert data you can use the ``executemany`` function::
121
121
[{'rowcount': 1}, {'rowcount': 1}]
122
122
123
123
``executemany`` returns a list of results for every parameter. Each result
124
- contains a rowcount. If an error occurs the rowcount is -2 and the result
124
+ contains a rowcount. If an error occurs, the rowcount is ``-2`` and the result
125
125
may contain an ``error_message`` depending on the error.
126
126
127
127
Refresh locations:
You can’t perform that action at this time.
0 commit comments