gino
gino copied to clipboard
Docs
Tutorials
- [x] tutorial (fantix)
- [x] FastAPI tutorial (fantix)
How-To Guides
- [x] schema (fantix)
- [x] transaction (fantix)
- [x] crud
- [x] relationship (fantix)
- [x] FAQ
Explanation
- [x] engine (fantix)
- [x] why (fantix)
- [ ] GINO from scratch
Hi, u probably forgot one closing bracket here https://python-gino.org/docs/en/master/how-to/loaders.html
now = db.Column('time', db.DateTime())
result = await db.first(db.text(
'SELECT now() AT TIME ZONE \'UTC\''
).columns(
now,
).gino.load(
('now:', now)
).first()
print(result) # now: 2018-04-08 08:23:02.431847
You're right - fixing that now. Thanks!