yuyi
|
288b13b51d
|
all: cleanup smartcasts in the compiler (#13639)
|
2022-03-03 10:48:31 +02:00 |
Tim Basel
|
9d0a5942ac
|
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
yuyi
|
173b4652fb
|
parser: check orm sql statements, using undefined variables in where expr (fix #13367) (#13368)
|
2022-02-05 11:32:41 +02:00 |
yuyi
|
291a1ffd8d
|
token: rename Position to Pos, rename position() to pos() (#13279)
|
2022-01-26 12:36:28 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
yuyi
|
c58b04bcbf
|
checker: implement if smartcast multi conds (part 2) (#10487)
|
2021-06-17 12:27:31 +03:00 |
Louis Schmieder
|
faf2656335
|
orm: support multiline statements (#9888)
|
2021-04-27 15:28:57 +03:00 |
Lukas Neubert
|
181b0f1035
|
parser: improve error message for missing db expr in ORM (#9890)
|
2021-04-26 19:51:51 +03:00 |
Louis Schmieder
|
67d8639917
|
orm: add unique fields & add drop table stmt (#9684)
|
2021-04-11 23:57:25 +02: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 |
Alexander Medvednikov
|
6f318be96c
|
checker: do not allow nil sum types init
|
2021-03-31 11:13:52 +03:00 |
Ned Palacios
|
b319068151
|
ast, parser: implement simple AST poisoning (#9525)
|
2021-03-30 09:33:29 +02:00 |
Lukas Neubert
|
05b51c5b01
|
parser: correctly set pos of sql blocks (#9334)
|
2021-03-16 23:00:50 +02:00 |
Louis Schmieder
|
e06e8b10cd
|
orm: fix empty struct and simplify (#8246)
|
2021-01-22 23:28:26 +01:00 |
Tim Basel
|
129eee346b
|
fmt: keep single empty lines (#8189)
|
2021-01-19 14:49:40 +01:00 |
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
zakuro
|
47536df2d0
|
table: remove nr_dims from Array (#8053)
|
2021-01-13 23:43:19 +01:00 |
Daniel Däschle
|
47d0ed308d
|
parser: prepare for better VLS integration, more accurate parser errors (#7119)
|
2020-12-04 20:34:05 +02:00 |
joe-conigliaro
|
ff63fb74d9
|
dont allow method on non-local types & no mod for arrays. closes #6971
|
2020-11-30 11:43:22 +11:00 |
Daniel Däschle
|
7d6f97259f
|
all: refactor UnionSumType to SumType (#6944)
|
2020-11-25 13:09:40 +02:00 |
Daniel Däschle
|
838ad16296
|
all: refactor ast.Expr to use the new sum type implementation (#6792)
|
2020-11-21 00:05:57 +01:00 |
Enzo
|
90d9040e6e
|
all: make comment expressions + fix vfmt array init (#5851)
|
2020-07-17 19:13:22 +02:00 |
Louis Schmieder
|
2a7a6fa1eb
|
orm: add delete stmt (#5725)
|
2020-07-07 16:55:32 +02:00 |
Delyan Angelov
|
3c432f5e07
|
orm: require `order by` instead of just `order`
|
2020-07-02 23:37:30 +03:00 |
Louis Schmieder
|
b89cbf3224
|
orm: add support for ordering (#5624)
|
2020-07-02 20:29:22 +03:00 |
Delyan Angelov
|
78e1127d99
|
cgen: treat the main module like any other v module
|
2020-07-01 00:53:53 +02:00 |
Delyan Angelov
|
9814497b91
|
vfmt: fix eating of sql x { ... limit 1 }
|
2020-06-28 14:27:53 +03:00 |
Delyan Angelov
|
fa867578bc
|
vfmt: fix segfault in update where the struct is not yet known
|
2020-06-28 14:07:28 +03:00 |
Alexander Medvednikov
|
3672cfad0b
|
orm: offset test
|
2020-06-27 16:25:25 +02:00 |
Alexander Medvednikov
|
f990a0b3d3
|
orm: offset
|
2020-06-27 16:22:41 +02:00 |
Alexander Medvednikov
|
f073ffa4ad
|
orm: limit
|
2020-06-27 16:19:12 +02:00 |
Alexander Medvednikov
|
6a335c4416
|
fmt: run on parser/assign.v
|
2020-06-27 15:00:28 +02:00 |
Alexander Medvednikov
|
450c6e843c
|
orm: `update` with multiple fields
|
2020-06-25 17:18:44 +02:00 |
Alexander Medvednikov
|
b280e08ee0
|
orm: `update` cgen
|
2020-06-25 17:12:32 +02:00 |
Alexander Medvednikov
|
786be1d1c3
|
orm: move type logic to checker, so that sql queries can be used before type def
|
2020-06-25 12:05:24 +02:00 |
Alexander Medvednikov
|
9df29d0dd2
|
checker: do not allow {} for aliases; orm: update stmt
|
2020-06-24 16:35:18 +02:00 |
Alexander Medvednikov
|
090e6e936a
|
orm: SqlStmt
|
2020-06-24 14:32:17 +02:00 |
Alexander Medvednikov
|
e3f00ff28b
|
orm: `limit 1` test
|
2020-06-22 16:58:43 +02:00 |
Alexander Medvednikov
|
deb09d95b0
|
orm: fix `column == var`; limit 1; vweb: @footer
|
2020-06-22 16:52:16 +02:00 |
Alexander Medvednikov
|
011e26ca9a
|
checker: check sum types in `match`; cross compilation fixes; orm fixes
|
2020-06-21 23:09:53 +02:00 |
Alexander Medvednikov
|
3cfeb92a4e
|
cgen: fix tmp counter; orm: insert fixes
|
2020-06-19 17:05:57 +02:00 |
Alexander Medvednikov
|
cd8392e42d
|
orm: insert
|
2020-06-19 16:43:35 +02:00 |
Alexander Medvednikov
|
6066414afa
|
orm: select many
|
2020-06-17 14:18:32 +02:00 |
Alexander Medvednikov
|
fb5cae7376
|
orm: select where id = x
|
2020-06-17 04:05:20 +02:00 |
Alexander Medvednikov
|
ed58192e4c
|
v orm: select
|
2020-06-17 00:59:37 +02:00 |
Alexander Medvednikov
|
e8f8defc3e
|
ast: SqlExpr
|
2020-06-16 12:14:22 +02:00 |