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

Support for array(limit, offset) as a 'limit' constructor key(Query Builder) #1208

Merged
merged 3 commits into from
Sep 8, 2013
Merged

Support for array(limit, offset) as a 'limit' constructor key(Query Builder) #1208

merged 3 commits into from
Sep 8, 2013

Conversation

Cinderella-Man
Copy link
Contributor

Hi,

This time I added support for 'limit' key working as limit (int $limit, [int $offset]) method.

I'll try to code as many points as I will be able to form my previous pull request(#1205). Sorry for pushing this "one by one" but it take huge amount of time for me to get my head around C(as I'm not a C developer) so I prefer to send something before somebody else will fix/write it.

Thanks,

Kamil

@phalcon
Copy link
Collaborator

phalcon commented Sep 8, 2013

It seems this commit is broken some things, could you take a look? https://travis-ci.org/phalcon/cphalcon/builds/11106923

@Cinderella-Man
Copy link
Contributor Author

Hi,

Sorry for this issue - I added unit tests and fixed bug - please treat this as my learning curve ;)

Thanks,

Kamil

phalcon pushed a commit that referenced this pull request Sep 8, 2013
Support for array(limit, offset) as a 'limit' constructor key(Query Builder)
@phalcon phalcon merged commit 5ee9d11 into phalcon:1.3.0 Sep 8, 2013
@phalcon
Copy link
Collaborator

phalcon commented Sep 8, 2013

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants