Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Dec 17th, 2018
89
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
$em = $this->getEntityManager();
$qb = $em->createQueryBuilder();
$qb->select('count(u.id)')
->from('Application\Entity\User', 'u');
var_dump($qb->getQuery()->getSingleScalarResult());
Add Comment
Please,
Sign In
to add comment
Public Pastes
💲 G2A.com Free Gift Card Guide Mar 2024 💲
GetText | 21 min ago | 0.63 KB
Sudomu
JavaScript | 34 min ago | 3.38 KB
Untitled
JavaScript | 54 min ago | 0.51 KB
Oxygen Search Form styling with icon
CSS | 58 min ago | 0.78 KB
News March28 24
Email | 1 hour ago | 33.52 KB
coreboot: show history by week since a releas...
Bash | 1 hour ago | 2.75 KB
ELM327 ARDUINO
C++ | 1 hour ago | 2.66 KB
Untitled
C++ | 1 hour ago | 3.13 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!