Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 5ddc986

Browse files
committed
common: Alphabetically sort the list of tables and views in a database
1 parent d0849c8 commit 5ddc986

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/sqlite.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,7 @@ func TablesAndViews(sdb *sqlite.Conn, dbName string) (list []string, err error)
935935

936936
// Merge the table and view lists
937937
list = append(list, vw...)
938+
sort.Strings(list)
938939
return
939940
}
940941

0 commit comments

Comments
 (0)