Skip to content

"LIMIT %%limit int%%" in MySQL #394

@ras0q

Description

@ras0q

ref: #123

In #123, you mentioned that it is impossible to use LIMIT %%limit int%% (same for OFFSET %%offset int%%) on MySQL, can you fix it in the following way? Maybe these methods involve breaking changes.

  • Change the regular expression in ParseQueryFields to, for example, [^%]+%%[^%]+%% so that LIMIT %%limit int%% can be detected
  • Replace LIMIT in introspection query's nth with 0 instead of NULL when LIMIT is forward
  • Add a syntax like %%limit int,as_limit%%
  • and so on...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions