GetVal returns corresponding value if a key exists, otherwise nil is returned.
(key string)
| 1480 | // GetVal returns corresponding value if a key exists, otherwise nil is |
| 1481 | // returned. |
| 1482 | func (o *StorageParams) GetVal(key string) Expr { |
| 1483 | for _, param := range *o { |
| 1484 | if param.Key == key { |
| 1485 | return param.Value |
| 1486 | } |
| 1487 | } |
| 1488 | return nil |
| 1489 | } |
| 1490 | |
| 1491 | // CreateTableOnCommitSetting represents the CREATE TABLE ... ON COMMIT <action> |
| 1492 | // parameters. |
no outgoing calls
no test coverage detected