Set the default value or expression of a column
(mut self, default: T)
| 398 | |
| 399 | /// Set the default value or expression of a column |
| 400 | pub fn default<T>(mut self, default: T) -> Self |
| 401 | where |
| 402 | T: Into<SimpleExpr>, |
| 403 | { |
| 404 | self.default = Some(default.into()); |
| 405 | self |
| 406 | } |
| 407 | |
| 408 | /// Get [ColumnType] as reference |
| 409 | pub fn get_column_type(&self) -> &ColumnType { |
no outgoing calls
no test coverage detected