You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is failing
Details
This PR adds a `Truncate` method which allows to delete all existing rows in a table. The current `Delete` implementation enforces conditions to prevent accidental data deletion. Co-authored-by: KN4CK3R <admin@oldschoolhack.me> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-on: #2220 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: KN4CK3R <kn4ck3r@noreply.gitea.io> Co-committed-by: KN4CK3R <kn4ck3r@noreply.gitea.io> |
1 month ago | |
---|---|---|
.. | ||
testdata | 2 years ago | |
cache_test.go | 2 years ago | |
engine_dm_test.go | 2 months ago | |
engine_group_test.go | 3 years ago | |
engine_test.go | 9 months ago | |
main_test.go | 3 years ago | |
performance_test.go | 2 years ago | |
processors_test.go | 1 year ago | |
rows_test.go | 11 months ago | |
session_cols_test.go | 2 years ago | |
session_cond_test.go | 2 years ago | |
session_count_test.go | 2 years ago | |
session_delete_test.go | 1 month ago | |
session_exist_test.go | 2 years ago | |
session_find_test.go | 4 months ago | |
session_get_test.go | 11 months ago | |
session_insert_test.go | 2 months ago | |
session_iterate_test.go | 2 years ago | |
session_pk_test.go | 1 year ago | |
session_query_test.go | 2 years ago | |
session_raw_test.go | 2 years ago | |
session_schema_test.go | 11 months ago | |
session_sum_test.go | 2 years ago | |
session_test.go | 2 years ago | |
session_tx_test.go | 2 years ago | |
session_update_test.go | 1 year ago | |
tags_test.go | 11 months ago | |
tests.go | 1 year ago | |
time_test.go | 2 years ago | |
types_null_test.go | 2 years ago | |
types_test.go | 11 months ago |