Skip to content

Commit 2f3cb01

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 787768d + 07c2972 commit 2f3cb01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,11 @@ This will open a browser to the H2 console interface. To connect to your Clippy
648648
```
649649
SELECT COUNT(*) FROM clips; -- Get total number of clips.
650650
SELECT MAX(id) FROM clips; -- Get highest clip ID.
651+
DELETE FROM clips WHERE id = 1234; -- Delete specific clip.
651652
DELETE FROM clips WHERE id < 10000; -- Delete some old clips.
653+
SELECT id, LENGTH(text) length, text FROM clips ORDER BY length DESC LIMIT 50; -- Show 50 largest clips.
654+
DELETE FROM clips WHERE LENGTH(text) >= 12345; -- Delete clips larger than 12345 characters.
655+
DELETE FROM clips WHERE text LIKE '%abcde%'; -- Delete clips containing "abcde".
652656
```
653657

654658
## Development details

0 commit comments

Comments
 (0)