Commit Graph

13 Commits (45a15755b8556513043b5cf592d0395392b46bfd)

Author SHA1 Message Date
Louis Schmieder 26db3b0995
orm: redesign orm (re-write it in V) (#10353) 2021-07-23 12:33:55 +03:00
shadowninja55 534b59e721
examples: rename "Chield" to "Child" in examples/database/orm.v (#10414) 2021-06-11 11:52:06 +03:00
Louis Schmieder b8e070b2a1
orm: fix multi substructs (#9941) 2021-05-04 12:35:18 +03:00
Louis Schmieder fb685eee18
orm: support arrays (#9936) 2021-04-30 09:13:26 +03:00
Louis Schmieder b15156d465
orm: fix mysql substructs (#9930) 2021-04-29 21:00:17 +03:00
Louis Schmieder e9bbb7de3a
orm: add pg select expr (#9927) 2021-04-29 13:38:36 +03:00
Louis Schmieder 7184629969
orm: add initial pg support (#9827) 2021-04-25 18:57:55 +03:00
Louis Schmieder dcf4a6b008
orm: add support for custom table names & custom field names (#9697) 2021-04-15 10:53:43 +03:00
Louis Schmieder 67d8639917
orm: add unique fields & add drop table stmt (#9684) 2021-04-11 23:57:25 +02:00
Louis Schmieder 64391efa4d
orm: add mysql support (#9630)
* add mysql to orm

* fix got to big packet error

* format sql.v

* format example

* custom sql types

* add mysql table cration

* add documentation

* format sql.v

* fix markdown

* start implementing select_expr for mysql

* remove orm.c

* format sql.v

* finish mysql expr

* remove c

* remove unessecary files

* change to c implementation

* remove c

* added str interpolation for idents

* fix string insert

* fix compilation problems

* fix gitly compilation

* fix typing mistake

* add link to orm docs
2021-04-10 17:38:27 +03:00
spaceface b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
spaceface d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
Louis Schmieder 97c0ef3505
orm: struct field support (#8517) 2021-02-04 20:28:33 +01:00