Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

Add a new option, queryKeepsLimits defines if the LIMITs should stay - #275

Merged
Chumper merged 1 commit into
Chumper:masterfrom
timgws:dt-query
Apr 7, 2015
Merged

Chumper merged 1 commit into
Chumper:masterfrom
timgws:dt-query

Conversation

@timgws

@timgws timgws commented Mar 31, 2015

Copy link
Copy Markdown
Collaborator

When exporting a query using the QueryEngine, by default the current
behaviour is to run the limit and skip functions on the QueryBuilder.

Sometimes this may be the behaviour that you want.

The default behaviour however should be to get the query without any
limit or skips. A new option is introduced to make sure that the limits
are the same as they were previously (where the query is the same as
what is shown in the datatable).

I will write a wiki article a little later showing a potential new use &
implementation of this new functionality, which will allow server-side
CSV exports ala TableTools (but for larger data).

(Closes #272, this is an updated branch after PR #267)

When exporting a query using the QueryEngine, by default the current
behaviour is to run the limit and skip functions on the QueryBuilder.

Sometimes this may be the behaviour that you want.

The default behaviour however should be to get the query without any
limit or skips. A new option is introduced to make sure that the limits
are the same as they were previously (where the query is the same as
what is shown in the datatable).

I will write a wiki article a little later showing a potential new use &
implementation of this new functionality, which will allow server-side
CSV exports ala TableTools (but for larger data).
@timgws

timgws commented Apr 7, 2015

Copy link
Copy Markdown
Collaborator Author

Hey, @Chumper. Is there anything wrong with this patch, anything that needs fixing up etc?

Chumper pushed a commit that referenced this pull request Apr 7, 2015
Add a new option, queryKeepsLimits defines if the LIMITs should stay
@Chumper
Chumper merged commit 02f6d75 into Chumper:master Apr 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants