Type implements the interface sql.Expression.
(ctx *sql.Context)
| 236 | |
| 237 | // Type implements the interface sql.Expression. |
| 238 | func (f *FunctionColumn) Type(ctx *sql.Context) sql.Type { |
| 239 | if f.Typ.IsEmptyType() { |
| 240 | return pgtypes.Unknown |
| 241 | } |
| 242 | return f.Typ |
| 243 | } |
| 244 | |
| 245 | // IsNullable implements the interface sql.Expression. |
| 246 | func (f *FunctionColumn) IsNullable(ctx *sql.Context) bool { |
nothing calls this directly
no test coverage detected