ParseQualifiedTableName parses a possibly qualified table name. The table name must contain one or more name parts, using the full input SQL syntax: each name part containing special characters, or non-lowercase characters, must be enclosed in double quote. The name may not be an invalid table name
(sql string)
| 274 | // for guaranteeing that only valid table names are provided as |
| 275 | // input). |
| 276 | func ParseQualifiedTableName(sql string) (*tree.TableName, error) { |
| 277 | name, err := ParseTableName(sql) |
| 278 | if err != nil { |
| 279 | return nil, err |
| 280 | } |
| 281 | tn := name.ToTableName() |
| 282 | return &tn, nil |
| 283 | } |
| 284 | |
| 285 | // ParseTableName parses a table name. The table name must contain one |
| 286 | // or more name parts, using the full input SQL syntax: each name |
nothing calls this directly
no test coverage detected
searching dependent graphs…