WithTargetSchema implements the interface sql.SchemaTarget.
(schema sql.Schema)
| 137 | |
| 138 | // WithTargetSchema implements the interface sql.SchemaTarget. |
| 139 | func (c CreateTable) WithTargetSchema(schema sql.Schema) (sql.Node, error) { |
| 140 | n, err := c.gmsCreateTable.WithTargetSchema(schema) |
| 141 | if err != nil { |
| 142 | return nil, err |
| 143 | } |
| 144 | |
| 145 | c.gmsCreateTable = n.(*plan.CreateTable) |
| 146 | |
| 147 | return &c, nil |
| 148 | } |
no outgoing calls
no test coverage detected