This repository was archived by the owner on May 14, 2024. It is now read-only.
This repository was archived by the owner on May 14, 2024. It is now read-only.
?
does not make sense #207
Open
Description
when results = db.select('select * from user where id = ?', [1])
run, it turns out that:
orator/connections/connection.py", line 341, in _try_again_if_caused_by_lost_connection raise QueryException(query, bindings, e) orator.exceptions.query.QueryException: not all arguments converted during string formatting (SQL: select id, name from user where id = ? ([1]))
I have to change ?
into %s
.
results = db.select('select * from user where id = %s', [1])
.
So the documentation is wrong.