xorm icon indicating copy to clipboard operation
xorm copied to clipboard

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

Open aQuaYi opened this issue 5 years ago • 0 comments

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

aQuaYi avatar Jan 06 '20 14:01 aQuaYi