(ctx context.Context, conn *pgx.Conn, schemaName string)
| 102 | } |
| 103 | |
| 104 | func readRelations(ctx context.Context, conn *pgx.Conn, schemaName string) ([]Relation, error) { |
| 105 | rows, err := conn.Query(ctx, relationQuery, schemaName) |
| 106 | if err != nil { |
| 107 | return nil, err |
| 108 | } |
| 109 | |
| 110 | return scanRelations(rows) |
| 111 | } |
no test coverage detected