phpcr-odm icon indicating copy to clipboard operation
phpcr-odm copied to clipboard

[QueryBuilder] Allow comparisons with referenceable objects

Open dantleech opened this issue 11 years ago • 3 comments

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.

dantleech avatar Feb 28 '14 16:02 dantleech

is it ok if we remove the 1.2 milestone? i guess this is not a blocker?

dbu avatar Sep 29 '14 11:09 dbu

ping .. I agree, lets move this to 1.3

lsmith77 avatar Oct 02 '14 11:10 lsmith77

Fine with me

dantleech avatar Oct 02 '14 11:10 dantleech