(ti *sqlTable)
| 247 | } |
| 248 | |
| 249 | func getBlankNodeGen(ti *sqlTable) blankNode { |
| 250 | primaryKeyIndices := getColumnIndices(ti, func(info *sqlTable, column string) bool { |
| 251 | return info.columns[column].keyType == primary |
| 252 | }) |
| 253 | |
| 254 | if len(primaryKeyIndices) > 0 { |
| 255 | return &usingColumns{} |
| 256 | } |
| 257 | return &usingCounter{} |
| 258 | } |
| 259 | |
| 260 | func getTableGuides(tables map[string]*sqlTable) map[string]*tableGuide { |
| 261 | tableGuides := make(map[string]*tableGuide) |
no test coverage detected
searching dependent graphs…