tiberius
tiberius copied to clipboard
fix: Allow column names like 'End' to be used
NOTE: This PR is a duplicate of 2 others, except this PR also adds tests. Please let me know if I can help refine this work.
Duplicates: https://github.com/prisma/tiberius/pull/296 https://github.com/prisma/tiberius/pull/387
This commit surrounds column names with square brackets so that any conflicts with SQL keywords don't cause errors. Looking at other PRs it looks like this also allows column names with spaces in them to be used.