mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: add a link to ORM examples
This commit is contained in:
parent
9d7afa4e30
commit
81d17a63e3
@ -1452,7 +1452,7 @@ fn read_log() {
|
||||
|
||||
(this is still in an alpha state)
|
||||
|
||||
V has a built-in ORM (object-relational mapping) which supports Postgres, and will soon support MySQL and SQLite.
|
||||
V has a built-in ORM (object-relational mapping) which supports SQLite, and will soon support MySQL, Postgres, MS SQL, and Oracle.
|
||||
|
||||
V's ORM provides a number of benefits:
|
||||
|
||||
@ -1493,6 +1493,8 @@ new_customer := Customer{name: 'Bob', nr_orders: 10}
|
||||
sql db { insert new_customer into Customer }
|
||||
```
|
||||
|
||||
For more examples, see <a href='https://github.com/vlang/v/blob/master/vlib/orm/orm_test.v'>vlib/orm/orm_test.v</a>.
|
||||
|
||||
## vfmt
|
||||
|
||||
You don't need to worry about formatting your code or setting style guidelines.
|
||||
|
Loading…
Reference in New Issue
Block a user