(modifier: &str)
| 480 | } |
| 481 | |
| 482 | fn order_desc(modifier: &str) -> Result<bool> { |
| 483 | match modifier.to_uppercase().as_str() { |
| 484 | "DESC" => Ok(true), |
| 485 | "ASC" => Ok(false), |
| 486 | _ => exec_err!("the second parameter of array_sort expects DESC or ASC"), |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | fn order_nulls_first(modifier: &str) -> Result<bool> { |
| 491 | match modifier.to_uppercase().as_str() { |
no test coverage detected
searching dependent graphs…