Skip to content

Commit 3345b7a

Browse files
committed
SA20: Mitigate some leftover incompatibilities
1 parent 31c843e commit 3345b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/by-example/sqlalchemy/crud.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Retrieve
130130

131131
Using the connection to execute a select statement:
132132

133-
>>> result = connection.execute('select name from locations order by name')
133+
>>> result = connection.execute(text('select name from locations order by name'))
134134
>>> result.rowcount
135135
14
136136

0 commit comments

Comments
 (0)