Skip to content

v1.0.9

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:21
· 1 commit to main since this release
232c9ac
feat: 执行帧 Go context 与 Database bind (#22)

* feat(runtime): store Go context on the execution frame

Child calls and includes inherit only the context saved on the frame. Restoring that stored value keeps a borrowed call deadline from hiding a later cancellation.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat(database): execute queries on a bound transaction

Database\bind attaches the *sql.Tx returned by Database\Sql. The query uses that executor before the connection pool.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>