phpcr-odm
phpcr-odm copied to clipboard
[QueryBuilder] Allow comparisons with referenceable objects
I think it is. AFAIK the way to do this current is:
$qb->where()->eq()->field('c.address')->literal($address->getUuid());
We could do something like:
$qb->where()->eq()->field('c.address')->uuidOf($address);
Or automatically cast referenceable objects to uuids:
$qb->where()->eq()->field('c.address')->literal($address);
But that looks wierd.
is it ok if we remove the 1.2 milestone? i guess this is not a blocker?
ping .. I agree, lets move this to 1.3
Fine with me