Daniel Däschle
cf97a8dbbf
builtin,cgen: rename `Option` to `_option` ( #14317 )
2022-05-08 14:03:55 +02:00
yuyi
62553dcc2e
cgen: fix crash for casting bool to int ( fix #13825 ) ( #13844 )
2022-03-28 12:20:47 +03:00
yuyi
288b13b51d
all: cleanup smartcasts in the compiler ( #13639 )
2022-03-03 10:48:31 +02:00
yuyi
be1e40dac0
cgen: fix error for sql statement inside fn call ( fix #13330 ) ( #13346 )
2022-02-02 18:05:31 +02:00
Alexander Medvednikov
59ed4be49a
all: update copyright year
2022-01-04 12:21:12 +03:00
yuyi
cd0b581445
ast: rename 'table.get_type_symbol()' to 'table.sym()' and more related calls ( #12898 )
2021-12-19 18:25:18 +02:00
Alexander Medvednikov
4aa99e4303
tmpl: add a <div> test
2021-09-21 02:11:33 +03:00
Dialga
25d49bc615
orm: handle empty fields ( #11083 )
2021-08-06 21:25:38 +03:00
Louis Schmieder
a55ba08fad
orm: fix time ( #11026 )
2021-08-03 05:17:00 +03:00
Louis Schmieder
1943da54a5
orm: integrate psql to orm ( #10933 )
2021-07-24 20:49:40 +03:00
Louis Schmieder
26db3b0995
orm: redesign orm (re-write it in V) ( #10353 )
2021-07-23 12:33:55 +03:00
Ryan Roden-Corrent
6171e12f9f
orm: don't panic for a psql query with no results. ( #10511 )
2021-06-19 09:10:49 +03:00
youyuanwu
98505207c4
mssql: support orm create and drop table ( #10296 )
2021-06-01 11:10:27 +03:00
penguindark
7089ff3957
builtin: fix a bug in str_intp ( #10238 )
2021-05-28 18:44:30 +03:00
Enzo
886f69bfcf
all: use operator overloading on strings (p. 2) ( #10183 )
2021-05-24 11:38:31 +03:00
penguindark
d8d05e0106
all: new string interpolation in pure V ( #10181 )
2021-05-24 05:20:45 +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
c8e07b28e2
orm: fix pg orm statements ( #9909 )
2021-04-29 09:45:49 +03:00
Louis Schmieder
faf2656335
orm: support multiline statements ( #9888 )
2021-04-27 15:28:57 +03:00
Louis Schmieder
7184629969
orm: add initial pg support ( #9827 )
2021-04-25 18:57:55 +03:00
Enzo
af8ef12990
ast: use `AttrKind` ( #9845 )
2021-04-23 15:51:52 +03:00
spaceface
73352583e7
ci: fix all `-cstrict` warnings with gcc and clang ( #9792 )
2021-04-19 15:38:48 +03:00
Louis Schmieder
60bc280ad0
cgen: fix static var name used in sqlite orm generation, close #9725 ( #9745 )
2021-04-15 20:57:03 +03:00
Louis Schmieder
dcf4a6b008
orm: add support for custom table names & custom field names ( #9697 )
2021-04-15 10:53:43 +03:00
Delyan Angelov
b8e9f085eb
vfmt: cleanup StringInterLiteral.get_fspec_braces/1
2021-04-15 09:46:05 +03:00
Delyan Angelov
f1549b3ee7
vfmt: make ${} more robust; require it for every interpolation that uses '...' or "..."
2021-04-15 09:28:40 +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
Louis Schmieder
c37945e37f
orm: add != ( #9600 )
2021-04-08 02:13:25 +02:00
Louis Schmieder
fdb4f17866
ci: fix compilation with g++ ( #9629 )
2021-04-07 18:53:04 +03:00
Louis Schmieder
ab03357a6e
orm: add table creation ( #9621 )
2021-04-07 15:27:02 +02:00
Alexander Medvednikov
7385f8e56b
all: a massive merge of ast and table modules
2021-04-02 01:57:09 +03:00
Delyan Angelov
a386be6505
v.table: correct `table.types` to `table.type_symbols`
2021-03-19 22:51:52 +02:00
Delyan Angelov
69f1e7c9c3
v: fixes for `v -autofree -o v2 cmd/v`
2021-03-14 09:37:38 +02:00
Louis Schmieder
4bdbb0cfa8
orm: add type detection of db ( #8756 )
2021-02-15 17:14:39 +02:00
yuyi
a9c2045dbd
cgen: fix var name clash of array/map ( fix #1994 ) ( #8765 )
2021-02-15 15:51:57 +02:00
Louis Schmieder
97c0ef3505
orm: struct field support ( #8517 )
2021-02-04 20:28:33 +01:00
joe-conigliaro
ffedbe4b81
cgen: move cgen from v.gen to v.gen.c ( #8515 )
2021-02-02 15:41:51 +01:00