- GINO version: 0.8.2
- Python version: 3.7.2
- asyncpg version: 0.18.3
- aiocontextvars version: 0.2.1
- PostgreSQL version: 11.1
Description
Hi!
Can you please tell how possible to use math operations in models querying?
I want reach with GINO orm same result like in raw sql, for example:
SELECT t1.col_a * t2.col_b * 1.5 as value
FROM t1
JOIN t2 ON t2.some_key = t1.some_key;
Description
Hi!
Can you please tell how possible to use math operations in models querying?
I want reach with GINO orm same result like in raw sql, for example: