textSQL
textSQL copied to clipboard
Update utils.py
Don't want to let user input mess with table permissions on our side. Alternatively, we could just fix this at the session level with SET SESSION TRANSACTION READ ONLY;
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
text-sql | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Mar 12, 2023 at 11:03AM (UTC) |
@alex-sun-kuo done + merged in separate PR [see: https://github.com/caesarHQ/textSQL/pull/61 ]. It's not costly to filter the generated SQL statement against the blacklisted words so I didn't remove this section (checking, etc) entirely in the other PR -- so we could still merge this.
Don't have write access though but it should be a simple conflict to resolve (if we want to merge).