mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
Merge branch 'tursodatabase:main' into distance
This commit is contained in:
@@ -619,7 +619,8 @@ impl Func {
|
||||
}
|
||||
}
|
||||
pub fn resolve_function(name: &str, arg_count: usize) -> Result<Self, LimboError> {
|
||||
match name {
|
||||
let normalized_name = crate::util::normalize_ident(name);
|
||||
match normalized_name.as_str() {
|
||||
"avg" => {
|
||||
if arg_count != 1 {
|
||||
crate::bail_parse_error!("wrong number of arguments to function {}()", name)
|
||||
|
||||
Reference in New Issue
Block a user