Skip to content

Commit 6f13dac

Browse files
committed
改进Query类
1 parent 3524228 commit 6f13dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ public function select($data = null)
23912391

23922392
if (!empty($this->options['with'])) {
23932393
// 预载入
2394-
$result->eagerlyResultSet($resultSet, $this->options['with']);
2394+
$result->eagerlyResultSet($resultSet, $this->options['with'], $this->options['relation_cache']);
23952395
}
23962396

23972397
// 模型数据集转换

0 commit comments

Comments
 (0)