Replace the legacy Session.query() API #17
Loading…
Reference in a new issue
No description provided.
Delete branch "sqlalchemy-select"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
select()in the testsselect()invelofy.console,Grid,Path,City,Restaurant,Customer,Pixel, and the forecasting models.scalar_one()invelofy.console.gridifydb_sessionfixture intest_restaurants_with_dbscoped_session, like in Flask-SQLAlchemy)Behavioral notes:
select()does not deduplicate single entities from aJOIN; so,Grid.gridify()calls.unique()explicitly. Subqueries now run in one statement instead of two.select()in the tests c1f04c65aaselect()invelofy.console1f5a39f83aselect()inGridandPath53e1859ee8select()inCity9d2a4139b7select()inRestaurant54e21109e7select()inCustomer0dc3e11a63select()inPixel2eb6b5769fselect()in the forecasting models 185a37f7d4.scalar_one()invelofy.console.gridifybc2e3f439ddb_sessionfixture 9d98021b11