Skip to content

CDB_Mode

Andrew W. Hill edited this page Jul 21, 2014 · 2 revisions
CREATE AGGREGATE CDB_Mode(anyelement) (
   SFUNC=array_append, ­­Function to call for each row. Just builds the array
   STYPE=anyarray,
   FINALFUNC=_final_mode, ­­Function to call after everything has been added to array
   INITCOND='{}' ­­Initialize an empty array when starting
);
Clone this wiki locally