on ‎2024 Feb 15 7:56 AM
When making a SELECT from inside an on handler it calls the same on handler again.
const data = await this.run(SELECT.from(this.entities.Tags));This only happens if the on handler is written using the "*".
this.on("READ", "*", async (req, next) => {If the on handler is defined using single entities the SELECT statement won't call the on handler again.
this.on("READ", [Tags, Types], async (req, next) => {Does anyone know why this happens?
Request clarification before answering.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.