Skip to content

Commit

Permalink
ExecuteSqlToResult 调整入参改为非指针
Browse files Browse the repository at this point in the history
  • Loading branch information
lapinsergey-dev committed Oct 22, 2023
1 parent 373f864 commit 1e34c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internalContext.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ func (receiver *internalContext) ExecuteSql(sql string, values ...any) (int64, e

// ExecuteSqlToResult 返回结果(执行自定义SQL)
func (receiver *internalContext) ExecuteSqlToResult(arrayOrEntity any, sql string, values ...any) {
receiver.Original().Raw(sql, values...).Find(&arrayOrEntity)
receiver.Original().Raw(sql, values...).Find(arrayOrEntity)
}

0 comments on commit 1e34c6c

Please sign in to comment.