Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Parser, Prepared Statements
    • Labels:
      None

      Description

      Feature Request

      Support expressions in the LIMIT clause, not just integers,
      such as SELECT * FROM tbl LIMIT (1 * :param)

      Both SQLite and Postgres allow similar. And it would be kind of helpful for PHP users, to eschew the emulated prepared statement driver situation there.
      (Bound parameters are interpolated as strings per default, and MariaDB doesn't permit `LIMIT '20'` clauses of course.)

      It's entirely sufficient to support scalar expressions of course. There's no need for incorporating column references etc.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                milki mario
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 year
                  52w
                  Remaining:
                  Remaining Estimate - 1 year
                  52w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified