D1 Stored procedures

It is somehow possible to create a transaction with intermediate js code execution?
I found so called stored procedures presented in this article:

but did not manage to make them work or find any other ressource about them.
Are they implemented or is there an alternative?

1 Like

Have been wondering the same, there is no other place mentioning stored procedures except for this blog post.

@sherzod You got any solution or documentation on D1 stored procedure?
or can I do the Transaction over D1 database?