chainlit
chainlit copied to clipboard
1.3.0rc0 Bug Fix | SQLAlchemy | Properly quote identifier
trafficstars
Fixes the SQLAlchemy bug raised in #1394
Bug introduced in @1319 where userId wasn't encased with double-quotes so the SQL engine converts userId to userid which doesn't exist. Encasing with double-quotes fixes this issue.
I’ve come across this bug and endorse the proposed solution.
@hayescode Thanks for the fix and @desertproject thanks for the endorsement/testing.