File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -511,15 +511,15 @@ Creates an AQL user function with the given *name* and *code* if it does not alr
511511
512512* Parameter*
513513
514- * * name* : a valid AQL function name, e.g.: ` "myfuncs: : accounting: : calculate_vat" ` .
514+ * * name* : a valid AQL function name, e.g.: ` "myfuncs:: accounting:: calculate_vat" ` .
515515* * code* : a string evaluating to a JavaScript function (not a JavaScript function object).
516516
517517* Examples*
518518
519519``` js
520520var qb = require (' aqb' );
521521var db = require (' arangojs' )();
522- var vat_fn_name = ' myfuncs: : acounting: : calculate_vat' ;
522+ var vat_fn_name = ' myfuncs:: acounting:: calculate_vat' ;
523523var vat_fn_code = string (function (price ) {
524524 return price * 0.19 ;
525525});
@@ -572,7 +572,7 @@ Deletes the AQL user function with the given name from the database.
572572
573573``` js
574574var db = require (' arangojs' )();
575- db .dropFunction (' myfuncs: : acounting: : calculate_vat' , function (err ) {
575+ db .dropFunction (' myfuncs:: acounting:: calculate_vat' , function (err ) {
576576 if (err) return console .error (err);
577577 // the function no longer exists
578578});
You can’t perform that action at this time.
0 commit comments