mirror of
https://github.com/turbot/steampipe.git
synced 2026-03-24 11:00:34 -04:00
Add query column in introspection tables to populate FullName if a QueryProvider references a named query. Closes #3161
This commit is contained in:
@@ -17,3 +17,9 @@ func UnquoteStringArray(stringArray []string) []string {
|
||||
func StringSlicesEqual(l, r []string) bool {
|
||||
return strings.Join(l, ",") == strings.Join(r, ",")
|
||||
}
|
||||
|
||||
// RemoveElementFromSlice takes a slice of strings and an index to remove,
|
||||
// and returns a new slice with the specified element removed.
|
||||
func RemoveElementFromSlice(slice []string, s int) []string {
|
||||
return append(slice[:s], slice[s+1:]...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user