Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-305

Do insert with a select subquery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 5.0
    • None
    • None

    Description

      It would be nice if the torque criteria api would support inserts with a given sub query like the following:

      INSERT INTO table_a (column_a, column_b, column_c)
      SELECT
      /* Literal number values with column aliases */
      value_a AS column_a,
      value_b AS column_b,
      column_x
      FROM table_b
      WHERE ...;

      Attachments

        Activity

          People

            tfischer Thomas Fox
            miwagner Michael Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: