Skip to content

How could I use the js function in the formula? #449

Answered by RafaelGB
hiocean asked this question in Q&A
Discussion options

You must be logged in to vote

Moved to Q&A disccussions

You need to select where the js files are saved

The use of them could be consulted here
It just explain the basics.

The name of the js file should be the same of your exposed function:
func1.js

function func1(x) {
    return x
}
module.exports = func1;

And the use was correct:

${db.js.func1(0)}

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@hiocean
Comment options

@DannyHatcher-Git
Comment options

@RafaelGB
Comment options

@DannyHatcher-Git
Comment options

Answer selected by hiocean
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Further information is requested
4 participants
Converted from issue

This discussion was converted from issue #448 on September 30, 2022 08:29.