| Public Member Functions | |
| def | __init__ | 
| def | query | 
| Public Attributes | |
| url | |
Supports simple user queries through the use of QueryEngine.
    (https://cdcvs.fnal.gov/redmine/projects/qengine/wiki)
 
Definition at line 135 of file DataLoader3.py.
| def DataLoader3.DataQuery.__init__ | ( | self, | |
| url | |||
| ) | 
Class constructor.
    Args:
 url - Http URL to QueryEngine.
 
Definition at line 140 of file DataLoader3.py.
| def DataLoader3.DataQuery.query | ( | self, | |
| database, | |||
| table, | |||
| columns, | |||
| where = None, | |||
| order = None, | |||
| limit = None, | |||
| echoUrl = False | |||
| ) | 
Executes a simple query and returns the results in a list.  List data will
    be in the same order as listed in the columns attribute.
    Args:
 database - The name of the database to be queried.  (This database must
            be in QueryEngine's configuration file.)
 table - The name of the table to query on.
 columns - A comma separated string of the table columns to be returned.
 where - (optional) <column>:<op>:<value> - can be repeated; seperated by ampersand (&)
         op can be: lt, le, eq, ne, ge, gt
 order - (optional) A comma separated string of columns designating row order in the returned list.
         Start the string with a minus (-) for descending order.
 limit - (optional) - A integer designating the maximum number of rows to be returned.
 
Definition at line 148 of file DataLoader3.py.
| DataLoader3.DataQuery.url | 
Definition at line 146 of file DataLoader3.py.
 1.8.5
 1.8.5