This is mainly copy-pasted from internal/postgresql/parse.go
(list *ast.List)
| 10 | |
| 11 | // This is mainly copy-pasted from internal/postgresql/parse.go |
| 12 | func stringSlice(list *ast.List) []string { |
| 13 | items := []string{} |
| 14 | for _, item := range list.Items { |
| 15 | if n, ok := item.(*ast.String); ok { |
| 16 | items = append(items, n.Str) |
| 17 | } |
| 18 | } |
| 19 | return items |
| 20 | } |
| 21 | |
| 22 | type Relation struct { |
| 23 | Catalog string |
no outgoing calls
no test coverage detected