Crear  Editar  FrontPage  Indexes  Buscar  Cambios  History  RSS  Login

Gda::DataModelArray

class Gda::DataModelArray

An implementation of Gda::DataModel based on an array.

Class Methods

Gda::DataModelArray.new(n_columns)
This method returns a reference to a newly created Gda::DataModelArray object.
  • n_columns: number of columns for rows of this data model.
  • Returns: a reference to a newly created Gda::DataModelArray object.

Instance Methods

clear
Frees all the rows inserted in this model.
  • Returns: self.
n_columns=(n_columns)
Sets the number of columns for rows inserted in this model.
  • n_columns: number of columns for rows this data model should use (must be greated than or equal to 0).
  • Returns: the given parameter 'n_columns'.
set_n_columns(n_columns)
Sets the number of columns for rows inserted in this model.
  • n_columns: number of columns for rows this data model should use (must be greated than or equal to 0).
  • Returns: self.
Ultimas actualizaciones:2011/06/05 23:13:36
Clave:
Referencias:[Gda::Table] [Gda::DataModel] [Gda::Select] [Gda::DataModelArray]