@Profiler.profile
def test_core_fetchall(n):
 with engine.connect() as conn:
  result = conn.execute(Customer.__table__.select().limit(n)).fetchall()
  for row in result:
   data = (row['id'], row['name'], row['description'])

@ Profiler . profile def test_core_fetchall ( n ) : with engine . connect ( ) as conn : result = conn . execute ( Customer . __table__ . select ( ) . limit ( n ) ) . fetchall ( ) for row in result : data = ( row [ 'id' ] , row [ 'name' ] , row [ 'description' ] )
load core result rows using fetchall .