Uploaded image for project: 'Lucee Development'
  1. LDEV-818

queryAddColumn does not accept a type argument

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0.238, 4.5.3.013
    • Labels:
      None

      Description

      You can't specify a column type when adding a column to a query.

      q = queryNew( 'foo' );
      queryaddColumn( q, 'bar', 'varchar' );
      

      or

      q = queryNew( 'foo' );
      q.addColumn( 'bar', 'varchar' );
      

      Error is

      Can't cast String [varchar] to a value of type [Array]

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              raymondcamden Raymond Camden
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: