Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可以利用 *sql.DB 对象创建 engine 吗? #57

Open
aQuaYi opened this issue Jan 6, 2020 · 0 comments
Open

可以利用 *sql.DB 对象创建 engine 吗? #57

aQuaYi opened this issue Jan 6, 2020 · 0 comments

Comments

@aQuaYi
Copy link

aQuaYi commented Jan 6, 2020

为了加快 SQLite3 数据库的速度,我会把数据库文件复制到内存中。但是,这样就只能拿到一个 *sql.DB 对象,无法创建 xorm 的 engine 了。
请问有办法利用 *sql.DB 对象创建 engine 吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant