New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFR] Subqueries in PHQL #496

Closed
hugoduraes opened this Issue Mar 20, 2013 · 70 comments

Comments

Projects
None yet
@hugoduraes

hugoduraes commented Mar 20, 2013

Subqueries aren't still supported in PHQL. It would be nice to be able to do it instead of using raw sql.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@arturgspb

This comment has been minimized.

arturgspb commented May 7, 2013

+1 vote

@igorgolovanov

This comment has been minimized.

Contributor

igorgolovanov commented May 21, 2013

+1 vote.

@posthy

This comment has been minimized.

posthy commented Jun 13, 2013

+1

@Agent-J

This comment has been minimized.

Agent-J commented Jun 13, 2013

+1
but it's not the most urgent issue

@touhonoob

This comment has been minimized.

touhonoob commented Jun 15, 2013

+1

3 similar comments
@jeffreycahyono

This comment has been minimized.

jeffreycahyono commented Jul 5, 2013

+1

@hesalx

This comment has been minimized.

hesalx commented Jul 5, 2013

👍

@doit76

This comment has been minimized.

doit76 commented Jul 5, 2013

+1

@isimonov

This comment has been minimized.

isimonov commented Jul 16, 2013

+1 vote

@jentix

This comment has been minimized.

jentix commented Jul 18, 2013

+1

9 similar comments
@Slyvampy

This comment has been minimized.

Slyvampy commented Jul 26, 2013

+1

@chebureque

This comment has been minimized.

chebureque commented Jul 26, 2013

+1

@ivanblue

This comment has been minimized.

ivanblue commented Aug 7, 2013

+1

@ovr

This comment has been minimized.

Contributor

ovr commented Aug 8, 2013

+1

@gianks

This comment has been minimized.

gianks commented Aug 28, 2013

+1

@relishable

This comment has been minimized.

relishable commented Sep 10, 2013

+1

@Bal1

This comment has been minimized.

Bal1 commented Oct 15, 2013

+1

@serafimovich

This comment has been minimized.

serafimovich commented Oct 15, 2013

+1

@kuzmichus

This comment has been minimized.

kuzmichus commented Oct 15, 2013

+1

@Slyvampy

This comment has been minimized.

Slyvampy commented Nov 7, 2013

Is there any update on this?

@gianks

This comment has been minimized.

gianks commented Nov 23, 2013

Any news?
Phalcon Rocks!

@algebreico

This comment has been minimized.

algebreico commented Jan 4, 2014

+1

6 similar comments
@alu

This comment has been minimized.

alu commented Jan 11, 2014

+1

@cornfeedhobo

This comment has been minimized.

cornfeedhobo commented Jan 21, 2014

+1

@cdekok

This comment has been minimized.

cdekok commented Jan 21, 2014

👍

@Jeckerson

This comment has been minimized.

Jeckerson commented Feb 8, 2014

+1

@lantian

This comment has been minimized.

Contributor

lantian commented Feb 13, 2014

+1

@fiveDust

This comment has been minimized.

fiveDust commented Feb 25, 2014

+1

@hugoduraes

This comment has been minimized.

hugoduraes commented Feb 25, 2014

This is becoming popular. @phalcon is this going to be available on Phalcon 1.3.0?

@jimjam88

This comment has been minimized.

jimjam88 commented Feb 26, 2014

+1

@derekjkeller

This comment has been minimized.

derekjkeller commented Sep 8, 2014

+1

2 similar comments
@slechtic

This comment has been minimized.

slechtic commented Sep 9, 2014

+1

@boedy

This comment has been minimized.

boedy commented Sep 23, 2014

+1

@Michal-St

This comment has been minimized.

Michal-St commented Oct 19, 2014

  • 1
@coollider

This comment has been minimized.

coollider commented Oct 21, 2014

+1

1 similar comment
@jesusfreak3

This comment has been minimized.

jesusfreak3 commented Oct 21, 2014

+1

@fireburnheart2005

This comment has been minimized.

fireburnheart2005 commented Oct 31, 2014

I hope this issues will be fixed ,+1

@mzf

This comment has been minimized.

mzf commented Nov 2, 2014

+1

4 similar comments
@wedancedalot

This comment has been minimized.

wedancedalot commented Nov 5, 2014

+1

@nazwa

This comment has been minimized.

nazwa commented Dec 2, 2014

+1

@andrefigueira

This comment has been minimized.

andrefigueira commented Dec 13, 2014

+1

@evandropoa

This comment has been minimized.

evandropoa commented Dec 13, 2014

+1

@angay9

This comment has been minimized.

angay9 commented Dec 21, 2014

+1

1 similar comment
@evandropoa

This comment has been minimized.

evandropoa commented Dec 22, 2014

+1

@loopsframework

This comment has been minimized.

Contributor

loopsframework commented Jan 31, 2015

+1 can't use subqueries with Phalcon\Paginator\Adapter\QueryBuilder

@Wexsel

This comment has been minimized.

Wexsel commented Feb 22, 2015

+1

6 similar comments
@tmihalik

This comment has been minimized.

Contributor

tmihalik commented Feb 26, 2015

+1

@dataclub

This comment has been minimized.

dataclub commented Mar 26, 2015

+1

@sukobuto

This comment has been minimized.

sukobuto commented Mar 27, 2015

+1

@andrewi-wd

This comment has been minimized.

andrewi-wd commented Apr 8, 2015

+1

@sergeyklay

This comment has been minimized.

Member

sergeyklay commented Apr 10, 2015

+1

@marcosluizss

This comment has been minimized.

marcosluizss commented May 8, 2015

+1

@sergeyklay

This comment has been minimized.

Member

sergeyklay commented May 18, 2015

@andresgutierrez It seems solved :)

@andresgutierrez

This comment has been minimized.

Member

andresgutierrez commented May 18, 2015

Implemented in 2.0.2

@coollider

This comment has been minimized.

coollider commented May 19, 2015

Ty

@someson

This comment has been minimized.

Contributor

someson commented Sep 4, 2017

Subqueries in JOINs too?

@Jurigag

This comment has been minimized.

Member

Jurigag commented Sep 5, 2017

How to solve it in Active Record exactly? I think it's hard or close to not possible to implement this in Active Record pattern, if we will switch to Data Mapper we could think about it.

Keep in mind that most of queries in PHQL if you works on full models are translated to ORM to keep events working. like for example update/insert/select.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment