Open markelovstyle opened 4 years ago
Oh, that's a good point. I don't think we have date manipulation filters right now? How did I miss that?
Great! I’ll wait for the release.
Does Tortoise have the ability to query the database directly, as in Pony ORM?
Yes:
conn = Tortoise.get_connection('default')
val = await conn.execute_query_dict("SELECT * FROM event")
print(val)
Should really add that to the documentation...
I added an example in the docs: https://tortoise-orm.readthedocs.io/en/develop/examples/basic.html#manual-sql
Hello, how I can a similar SQL request be sampled via Tortoise ORM? Read the documentation, but it doesn’t give examples of working with date and time