AnswerDotAI / AnswerDotAI/fastlite

Upsert with compound primary key

Open
#38 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
232
Forks
19
PR merge metrics
No merged PRs in 30d

Description

`upsert` does not work as I would expect with a compound primary key. The workaround I use is to use `insert` with `replace=True` to accomplish what I think `upsert` should do.

This is a minimal repro of the issue I ran into when developing on the solveit app: https://gist.github.com/Isaac-Flath/cc9b3c5d28219725235b00241ce4082a

FYI @pydanny @audreyfeldroy @jph00

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.