Skip to main content
Add markup
Source Link
exhuma
  • 22.1k
  • 16
  • 97
  • 139

Using sqlalchemy 0.7.2

Is there a way to find the table class from the query object? For example:

q = session.query(Customers)

q = session.query(Customers)

how can I find CustomersCustomers in qq? Possible? Not Possible?

Using sqlalchemy 0.7.2

Is there a way to find the table class from the query object? For example:

q = session.query(Customers)

how can I find Customers in q? Possible? Not Possible?

Using sqlalchemy 0.7.2

Is there a way to find the table class from the query object? For example:

q = session.query(Customers)

how can I find Customers in q? Possible? Not Possible?

Source Link

Find Table object in query

Using sqlalchemy 0.7.2

Is there a way to find the table class from the query object? For example:

q = session.query(Customers)

how can I find Customers in q? Possible? Not Possible?