Skip to content

Commit

Permalink
common: Alphabetically sort the list of tables and views in a database
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Mar 19, 2023
1 parent d0849c8 commit 5ddc986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/sqlite.go
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@ func TablesAndViews(sdb *sqlite.Conn, dbName string) (list []string, err error)

// Merge the table and view lists
list = append(list, vw...)
sort.Strings(list)
return
}

Expand Down

0 comments on commit 5ddc986

Please sign in to comment.