Add Truncate Functionality by JonasScholl · Pull Request #14 · code-specialist/database-setup-tools · GitHub
Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Add Truncate Functionality#14

Merged
JonasScholl merged 21 commits into
mainfrom
truncate
Apr 4, 2023
Merged

Add Truncate Functionality#14
JonasScholl merged 21 commits into
mainfrom
truncate

Conversation

@JonasScholl

Copy link
Copy Markdown
Member

resolves #9

I threw out the sqlite tests because they didn't want to truncate :D

Also, I saw that table.delete() from SQLAlchemy does DELETE FROM table; instead of truncate... so I just wrote it in SQL directly

@yannicschroeer yannicschroeer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice LGTM

@JonasScholl JonasScholl merged commit 78fd33e into main Apr 4, 2023
@JonasScholl JonasScholl deleted the truncate branch April 4, 2023 06:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce truncate method

2 participants