Consolidate logic for completion alongside code actions in Project
This way, completions are dealt with more consistently with code actions, and the logic is not spread across so many places. The `language::File` trait and the multibuffer no longer need to deal with completions. Completions are no longer generic over an anchor type.
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
databases=$(psql --tuples-only --command "
|
||||
SELECT
|
||||
datname
|
||||
FROM
|
||||
pg_database
|
||||
WHERE
|
||||
datistemplate = false
|
||||
AND datname like 'zed-test-%'
|
||||
")
|
||||
|
||||
for database in $databases; do
|
||||
echo $database
|
||||
dropdb $database
|
||||
done
|
||||
Reference in New Issue
Block a user