F
F
Friend2017-08-15 14:11:22
PostgreSQL
Friend, 2017-08-15 14:11:22

How to find all matches in the database?

async with request.app['db'].acquire() as conn:
            result = await conn.execute(
                select([db.my, ]).where(db.my.c.date == date)
            )
            print(await result.first())

Thus I find only 1 match, but how to find all matches and pull them out?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question