We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Why dataset ignore my key? I wanna that acategory_id will be primary key, but it creates own pk (id field)
payload = {'acategory_id': 1, 'acategory_name': 'xxx'} db['axixa'].upsert(payload, keys=['acategory_id'])
The text was updated successfully, but these errors were encountered:
I think you can just specify the primary key column you want to use via get_table: https://dataset.readthedocs.io/en/latest/api.html#dataset.Database.get_table
get_table
Sorry, something went wrong.
I guess why pudo doesn't create my pk
??
No branches or pull requests
Why dataset ignore my key? I wanna that acategory_id will be primary key, but it creates own pk (id field)
The text was updated successfully, but these errors were encountered: