Skip to content

Instantly share code, notes, and snippets.

View dzentota's full-sized avatar

Alexandr Tatulchenkov dzentota

View GitHub Profile
@dzentota
dzentota / format-stmt.php
Created March 25, 2019 10:52 — forked from morozov/format-stmt.php
Prepared Statements Debugging Snippets
<?php
function format_sugar_query(SugarQuery $query)
{
return format_builder(
$query->compile()
);
}
function format_builder(\Doctrine\DBAL\Query\QueryBuilder $builder)