def sql_list(self, query, values=(), debug=False):
		return [r[0] for r in self.sql(query, values, debug=debug)]
Return data as list of single elements (first column).
dataset/ETHPy150Open frappe/frappe/frappe/database.py/Database.sql_list