pudo / dataset

Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.

Home Page:https://dataset.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UPSERT_MANY creates another index

ohld opened this issue · comments

Hey!

I have a table with uuid as a Primary key (see my screenshot with my table's indexes).
I want to upsert_many(items, keys=["uuid"]) to this table. In result, another index on the same column uuid is created by dataset.

I expect that dataset should use already existed Primary Key Index instead of creating another one which is basically the same.

image