(self)
| 5776 | ) |
| 5777 | |
| 5778 | def test_select_star_future(self): |
| 5779 | User = self.classes.User |
| 5780 | |
| 5781 | sess = fixture_session() |
| 5782 | eq_( |
| 5783 | sess.execute( |
| 5784 | select(User).from_statement( |
| 5785 | text("select * from users order by id") |
| 5786 | ) |
| 5787 | ) |
| 5788 | .scalars() |
| 5789 | .first(), |
| 5790 | User(id=7), |
| 5791 | ) |
| 5792 | eq_( |
| 5793 | sess.execute( |
| 5794 | select(User).from_statement( |
| 5795 | text("select * from users where name='nonexistent'") |
| 5796 | ) |
| 5797 | ) |
| 5798 | .scalars() |
| 5799 | .first(), |
| 5800 | None, |
| 5801 | ) |
| 5802 | |
| 5803 | def test_columns_mismatched(self): |
| 5804 | # test that columns using column._label match, as well as that |
nothing calls this directly
no test coverage detected