tiberius icon indicating copy to clipboard operation
tiberius copied to clipboard

fix: Allow column names like 'End' to be used

Open cjordan opened this issue 4 months ago • 0 comments

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.

cjordan avatar Sep 13 '25 02:09 cjordan