add more comments

This commit is contained in:
Andy Eschbacher 2016-09-06 09:23:39 -04:00
parent 44dc5811b5
commit e29f6f2861

View File

@ -44,6 +44,13 @@ def query_attr_select(params):
Create portion of SELECT statement for attributes inolved in query.
@param params: dict of information used in query (column names,
table name, etc.)
Example:
OrderedDict([('attr1', 'numerator'),
('attr2', 'denominator'),
('subquery', 'SELECT * FROM interesting_data')])
Output:
"i.\"numerator\"::numeric As attr1, " \
"i.\"denominator\"::numeric As attr2, "
"""
attr_string = ""