Load Core result rows using fetchall.
(n)
| 104 | |
| 105 | @Profiler.profile |
| 106 | def test_core_fetchall(n): |
| 107 | """Load Core result rows using fetchall.""" |
| 108 | |
| 109 | with engine.connect() as conn: |
| 110 | result = conn.execute(Customer.__table__.select().limit(n)).fetchall() |
| 111 | for row in result: |
| 112 | row.id, row.name, row.description |
| 113 | |
| 114 | |
| 115 | @Profiler.profile |