SH-Hong

Results 45 comments of SH-Hong

@trasherdk **If you want to be like you, We have to write it like this** ```javascript const transaction = await db.transaction() try { transaction.query(() => ["INSERT INTO items (created_at) VALUES(?)",...

i think you don't need rollback wrapped in a catch() `This will receive the error object, allowing you to add additional logging or perform some other action`

I don't understand what you're trying to say. The reason I open this issue is because "DBpool"disconnect smoothly with end()

It is just an example In the example, the focus is on the end function. also Don't you need a commit() to run query() and rollback() on transaction?

Is this what you want? @carlosfer02 ``` const results = await mysql . transaction( ) . query ( 'INSERT INTO test (x) VALUES (?)' , [ 1 ] ) ....

I have same problem, how can i fix it?

@pergunt sry dude, It's been a long time since I've used that library, so i can't say proper information.

so what is possible workaround?

**I experience the same error When ts is compiled with js after putting axios in forEach, map** **environment : Connect Lambda to SQS and run Lambda** ` 2021-04-16T06:00:24.537Z 1f630065-c993-5f4e-bb70-5896e0bbfe96 INFO...

It's a shame that these essential functions are missing. [Pulse](https://github.com/pulsecron/pulse), the fork project of agenda, provides that functionality. Check out this docs page -> [Docs](https://docs-pulse.pulsecron.com/docs/defining-job-processors#parameters)