Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

how to open session autoclose flag with xorm.engine #1458

@godcong

Description

@godcong

now i used engine.Where("") to create an autoclose session.

but, the souce looks not very good.
does any suggestions for this?

if has some function like:

engine.NewAutoCloseSession()

or

session.AutoClose()

that is great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions