Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

增加 upsert 支持

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, sqlalchemy
Domain
backend, databases

Research direction

The issue names no files or tests; first locate the current data-update path and inspect how SQLAlchemy sessions and database types are handled. Read SQLAlchemy's ORM upsert guide, then verify that supported databases use upsert updates and that database-type handling matches the supported set.

Written by the indexing model from the issue text.

Description

使用 sqlalchemy 所支持 upsert 方案,在其支持的数据库上通过 upsert 方式更新数据。

可能需要先判断 db 的类型。

https://docs.sqlalchemy.org/en/20/orm/queryguide/dml.html#orm-queryguide-upsert

Dominant language
Python
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.