Skip to content
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

m:n limit relate #91

Open
GoogleCodeExporter opened this issue Jan 8, 2016 · 0 comments
Open

m:n limit relate #91

GoogleCodeExporter opened this issue Jan 8, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. m:n relation
2. call relate($model,$rmodel,array( limit=>"1,1") ) 

What is the expected output? What do you see instead?
I expect the second entry of the table correspondent to $model but instead the 
first entry shows up!

What version of the product are you using? On what operating system?
Path: doophp-read-only/dooframework/db/DooSqlMagic.php
Name: DooSqlMagic.php
URL: http://doophp.googlecode.com/svn/trunk/dooframework/db/DooSqlMagic.php
Repository Root: http://doophp.googlecode.com/svn
Repository UUID: eaaf3d48-7251-11de-8585-3f51e31374b7
Revision: 741
Node Kind: file
Schedule: normal
Last Changed Author: vizitine
Last Changed Rev: 741
Last Changed Date: May 22, 2013
Text Last Updated: May 22, 2013

Please provide any additional information below.
If the relate is called with no n:m relation than the limit works probably !

Original issue reported on code.google.com by maubecks...@googlemail.com on 13 Nov 2013 at 11:43

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

No branches or pull requests

1 participant