surrealdb-core 3.2.1

A scalable, distributed, collaborative, document-graph database, for the realtime web
Documentation
1
2
3
4
5
6
7
8
9
10
//! Count function

use crate::exec::function::FunctionRegistry;
use crate::{define_pure_function, register_functions};

define_pure_function!(Count, "count", (value: Any) -> Int, crate::fnc::count::count);

pub fn register(registry: &mut FunctionRegistry) {
	register_functions!(registry, Count);
}