U:RDoc::AnyMethod[iI"define_aggregator:EFI"(SQLite3::Database#define_aggregator;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"GDefine an aggregate function named +name+ using a object template ;TI"Nobject +aggregator+. +aggregator+ must respond to +step+ and +finalize+. ;TI"O+step+ will be called with row information and +finalize+ must return the ;TI".return value for the aggregator function.;To:RDoc::Markup::BlankLineo; ; [ I"J_API Change:_ +aggregator+ must also implement +clone+. The provided ;TI"N+aggregator+ object will serve as template that is cloned to provide the ;TI"Jindividual instances of the aggregate function. Regular ruby objects ;TI")already provide a suitable +clone+. ;TI";The functions arity is the arity of the +step+ method.;T: @fileI"lib/sqlite3/database.rb;T:0@omit_headings_from_table_of_contents_below000[I"( name, aggregator );T@FI" Database;TcRDoc::NormalClass00