Skip to content
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

Replace func #133

Open
fireworx opened this issue Mar 2, 2023 · 2 comments
Open

Replace func #133

fireworx opened this issue Mar 2, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@fireworx
Copy link

fireworx commented Mar 2, 2023

could you implement the Replace feature

would be nice to have

@fireworx fireworx added the enhancement New feature or request label Mar 2, 2023
@2shady4u
Copy link
Owner

2shady4u commented Mar 3, 2023

Hi @fireworx!

You can already use the Replace feature in the current version of this plugin:
https://www.sqlitetutorial.net/sqlite-replace-statement/

Example:

db.query("REPLACE INTO positions (title, min_salary) VALUES('Full Stack Developer', 140000);")

@fireworx
Copy link
Author

fireworx commented Mar 3, 2023

yes, i know, but i use the feature, that you can take a hole dictionary
-> for example update_rows(tablename,where,dict)

;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants