-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
table.lookup()
option to populate additional columns when creating a record
#339
Comments
Here's the current signature of sqlite-utils/sqlite_utils/db.py Lines 2716 to 2729 in 9cda5b0
I'm going to add a second positional argument which can provide a dictionary of column->value to use when creating the original table and populating the initial row. If the row already exists, those columns will be ignored entirely. |
What should I call this parameter? Django has a similar feature where it calls them |
Maybe this:
|
Originally posted by @simonw in simonw/git-history#12 (comment)
The text was updated successfully, but these errors were encountered: