mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
db97630117
* orm: add tracing of the generated queries by the orm module, when a program is compiled with `-d trace_orm` * examples: fix examples/database/orm.v, add comments, and ensure that the example can be run several times with no errors The example demonstrates connecting to all 3 DBs in the same program, and will be added to the CI very soon, to serve both as a regression test, if it fails, and as an example to how to use the ORM in combination with raw SQL queries to the DBs (which are driver/wrapper specific, unlike the ORM, but can be more convenient in some situations). |
||
---|---|---|
.. | ||
psql | ||
mysql.v | ||
orm.v | ||
sqlite.v |