Skip to content

Commit

Permalink
feat: add baseQuery.GetConn()
Browse files Browse the repository at this point in the history
  • Loading branch information
sbward committed Jan 2, 2022
1 parent 4f8caa2 commit 81a9bee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions query_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ func (q *baseQuery) DB() *DB {
return q.db
}

func (q *baseQuery) GetConn() IConn {
return q.conn
}

func (q *baseQuery) GetModel() Model {
return q.model
}
Expand Down

0 comments on commit 81a9bee

Please sign in to comment.