(value interface{})
| 510 | } |
| 511 | |
| 512 | func (stmt *Statement) Parse(value interface{}) (err error) { |
| 513 | return stmt.ParseWithSpecialTableName(value, "") |
| 514 | } |
| 515 | |
| 516 | func (stmt *Statement) ParseWithSpecialTableName(value interface{}, specialTableName string) (err error) { |
| 517 | if stmt.Schema, err = schema.ParseWithSpecialTableName(value, stmt.DB.cacheStore, stmt.DB.NamingStrategy, specialTableName); err == nil && stmt.Table == "" { |