Querying multiple tables #3303
chimeracle
announced in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to query two tables inside a single database using the example in the Reflex docs as a base(code directly below), but I get the error "Warning: Failed to compile initial state with computed vars, excluding them: 'function' object has no attribute 'options'".
I've also tried the select_from method from the SQLAlchemy docs to join the tables(code below) and do get the joined results, but as a sqlalchemy result object that I'm unable to understand how to pass to the frontend.
Does anyone have any guidance on how to either solve the error regarding the options attribute or how to use a "<class 'sqlalchemy.engine.result.ChunkedIteratorResult'>" in a rx.foreach operation inside a table?
Beta Was this translation helpful? Give feedback.
All reactions