contentbox.model.util

Class HQLHelper

railo-context.Component
        extended by contentbox.model.util.HQLHelper
Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  

    ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

    Method Summary
    array arrayReportToStruct(array hqlData, array columnNames)
         Take some nasty HQL array reports to nicer array of struct reports.
     
    Methods inherited from class railo-context.Component
    None

    Method Detail

    arrayReportToStruct

    public array arrayReportToStruct(array hqlData, array columnNames)

    Take some nasty HQL array reports to nicer array of struct reports

    Parameters:
    hqlData - The nasty HQL query report
    columnNames - The name of the columns (array) to inflate the structure of columns into, make sure they match the report or KABOOM!