Skip to content

Instantly share code, notes, and snippets.

Alexandre Cesaro alexcesaro

Block or report user

Report or block alexcesaro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
alexcesaro / UseIndexWalker.php
Last active Aug 17, 2017 — forked from arnaud-lb/UseIndexWalker.php
USE INDEX / FORCE INDEX in a Doctrine2 DQL query (with support for multiple tables in the FROM clause).
View UseIndexWalker.php
use Doctrine\ORM\Query\SqlWalker;
class UseIndexWalker extends SqlWalker
const HINT_USE_INDEX = 'UseIndexWalker.UseIndex';
public function walkFromClause($fromClause)
You can’t perform that action at this time.