Crear  Editar  FrontPage  Indexes  Buscar  Cambios  History  RSS  Login

Gda::ParameterList

Class Methods

Gda::ParameterList.new(*parameters=nil)
Creates a new Gda::ParameterList from optional Gda::Parameter objects.

Instance Methods

<<(param)
Synonym for Gda::ParameterList#add.
[name]
Synonym for Gda::ParameterList#find.
  • name: name of the parameter to search for.
  • Returns: a Gda::Parameter reference if found, nil if not found.
add(param)
Adds a new parameter to the list.
clear
Removes all parameters from the parameter list.
  • Returns: self.
each_name { |name| ... }
Calls the block for each parameter in the list, passing its name as parameter.
  • Returns: always nil.
each_parameter { |param| ... }
Calls the block for each parameter in the parameter list, passing a reference to a Gda::Parameter object as argument.
  • Returns: always nil.
empty?
This method returns true if the list is empty, false otherwise.
  • Returns: true if the list is empty, false otherwise.
find(name)
Gets a parameter from the list given its name.
  • name: name of the parameter to search for.
  • Returns: a Gda::Parameter reference if found, nil if not found.
length
This method returns the number of parameters stored in the list.
  • Returns: the number of parameters stored in the list.
names
Gets the names of all parameters in the parameter list.
  • Returns: an Array containing the names of all parameters.
parameters
Gets all parameters in the parameter list.
size
Synonym for Gda::ParameterList#length.
  • Returns: the number of parameters stored in the list.

See Also

Gda.

- lrz?

Ultimas actualizaciones:2011/06/20 10:12:05
Clave:
Referencias:[Gda::ParameterList] [Gda::Parameter] [Gda::Client] [Gda::Connection] [Gda]