-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change how reserved columns work to have an underscore prefix #14
Comments
I'm also going to change how "banned" columns work. Currently if your data has a Current implementation: git-history/git_history/cli.py Lines 288 to 300 in d58f446
|
I'm going to split out some of this logic into a |
... I do like underscore prefixes though. I'm tempted to fix the bug I filed in Datasette instead and keep this: |
I released Datasette 0.59.2 with a fix for this, so I'm free to use |
Right now I've implemented it such that
id
andcommit
andversion
anditem
are reserved columns, and any user-provided data with those columns gets renamed tocommit_
andid_
and so-on - see #8.I've changed my mind. I think this tool's columns should all have a
_
prefix instead (like semi-private class properties in Python).I'm even going to do that for the
_id
column, mainly so I don't have to explain a special case forid
.The text was updated successfully, but these errors were encountered: