Package Gnumed :: Package pycommon :: Module gmDrugObject :: Class cQueryGroup |
[frames] | no frames]

# Class cQueryGroup

source code

    Object holding query strings and associated variable lists grouped together.

        - Every query has to be identified by a unique identifier (string or number).
        - mQueryStrings holds the query strings returning one or more parameters.
        - mVarNames holds a list of variables that are to be filled by the query,
          for this the order of the returned column names map 1:1 onto the
          variable names
        - mMappings holds the variables that should be mapped to the query.
    - mInfos holds arbitrary infos (in a single string) about the query.
      This can be used for format strings and so on.
        - These three dictionaries are accessible from other objects.
        - You must use addEntry to add entries to the dictionaries, though,
          else the data will be written to the class as static variables.

Instance Methods
__init__(self) | source code
addEntry(self, aEntry=None) | source code