What exactly are you trying to do with this?
If you want to pull in a document, just use frappe.get_doc, or frappe.get_value for single values.
If you want a whole set of data, using frappe.db.sql queries can be quicker / easier.
What exactly are you trying to do with this?
If you want to pull in a document, just use frappe.get_doc, or frappe.get_value for single values.
If you want a whole set of data, using frappe.db.sql queries can be quicker / easier.