Search completed in 1.19 seconds.
9 results for "mozIStorageAggregateFunction":
mozIStorageAggregateFunction
storage/public/
mozistorageaggregatefunction.idlscriptable please add a summary to this article.
... onfinal() this is called after all results have been obtained and notified via
mozistorageaggregatefunction.
...class standarddeviationfunc : public
mozistorageaggregatefunction { public: ns_imethod onstep(mozistoragevaluearray *aarguments) { print32 value; nsresult rv = aarguments->getint32(&value); ns_ensure_success(rv, rv); mnumbers.appendelement(value); } ns_imethod onfinal(nsivariant **_result) { print64 total = 0; for (pruint32 i = 0; i < mnumbers.length(); i++) total += mnumbers[i]; print32 mean = total / mnumbers.leng...
mozIStorageConnection
void asyncclose([optional] in mozistoragecompletioncallback acallback); void begintransaction(); void begintransactionas(in print32 transactiontype); mozistoragestatement clone([optional] in boolean areadonly); void close(); void committransaction(); void createaggregatefunction(in autf8string afunctionname, in long anumarguments, in
mozistorageaggregatefunction afunction); mozistorageasyncstatement createasyncstatement(in autf8string asqlstatement); void createfunction(in autf8string afunctionname, in long anumarguments, in mozistoragefunction afunction); mozistoragestatement createstatement(in autf8string asqlstatement); void createtable(in string atablename, in string atableschema); mozistoragependingstat...
...see
mozistorageaggregatefunction for sample code and more details.
... void createaggregatefunction( in autf8string afunctionname, in long anumarguments, in
mozistorageaggregatefunction afunction ); parameters afunctionname the name of the aggregate function to create, as seen in sql.
...And 2 more matches
Index
203
mozistorageaggregatefunction interfaces, storage, xpcom, xpcom api reference this is an interface that must be implemented by consumers.
XPCOM Interface Reference
ggeramiwebinstallinfoamiwebinstalllisteneramiwebinstallpromptamiwebinstallerimgicacheimgicontainerimgicontainerobserverimgidecoderimgidecoderobserverimgiencoderimgiloaderimgirequestinidomutilsjsdistackframemoziasyncfaviconsmoziasynchistorymozicoloranalyzermozijssubscriptloadermozipersonaldictionarymoziplaceinfomoziplacesautocompletemoziregistrymozirepresentativecolorcallbackmozispellcheckingengine
mozistorageaggregatefunctionmozistorageasyncstatementmozistoragebindingparamsmozistoragebindingparamsarraymozistoragecompletioncallbackmozistorageconnectionmozistorageerrormozistoragefunctionmozistoragependingstatementmozistorageprogresshandlermozistorageresultsetmozistoragerowmozistorageservicemozistoragestatementmozistoragestatementcallbackmozistoragestatementparamsmozistoragestatementrowmozistoragestatementwrappermozistor...
Storage
mozistorageaggregatefunction create a new sqlite aggregate function.