Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 46ef949

Browse files
committed
fixed
1 parent 663b3df commit 46ef949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎phpzlc/db/query.markdown‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ keys: symfony,phpzlc,查询,select
1111
## 语法
1212

1313
```php
14-
$userRepository = $this->getDoctrine()->getRepository('App:User');
14+
$userRepository = ActionLoad::$globalDoctrine->getRepository('App:User');
1515

1616
//检查数据是否存在
1717
$userRepository->isExist($rules = null, ResultSetMappingBuilder $resultSetMappingBuilder = null, $aliasChain = '');

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /