first commit
This commit is contained in:
8
backend/ent/driver_access.go
Normal file
8
backend/ent/driver_access.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package ent
|
||||
|
||||
import "entgo.io/ent/dialect"
|
||||
|
||||
// Driver 暴露底层 driver,供需要 raw SQL 的集成层使用。
|
||||
func (c *Client) Driver() dialect.Driver {
|
||||
return c.driver
|
||||
}
|
||||
Reference in New Issue
Block a user