You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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