Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend script demo based on user request #457

Merged
merged 1 commit into from
May 26, 2024
Merged

Conversation

ake2l
Copy link
Member

@ake2l ake2l commented May 26, 2024

I have a <database id="myDb" /> (plus other required configs - I can access correctly to the DB).

Then inside a

<execute type="js"> block I have a
function myCount() {
  let count = myDb.countEntities("my_table");
  return count;
}
<execute/>

But apparently, I'm getting an error on the myDb.countEntities method. Should I not be able to perform this from the myDb "bean"

@ake2l ake2l added the question Further information is requested label May 26, 2024
@ake2l ake2l self-assigned this May 26, 2024
@ake2l ake2l merged commit 03b4880 into development May 26, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant