<?php
use Camelot\DoctrineQueryFormatter\QuerySqlFormatter;
use Doctrine\ORM\Query;
/** @var Query $query */
$formatter = new QuerySqlFormatter();
$string = $formatter->replaceQueryParameters($query->getSQL(), $query->getParameters()->toArray());
echo $string;
-
Notifications
You must be signed in to change notification settings - Fork 0
Doctrine ORM Query SQL formatting, with parameters, to make runnable queries
License
CamelotProject/doctrine-query-sql-formatter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Doctrine ORM Query SQL formatting, with parameters, to make runnable queries
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published