1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

42 Commits

Author SHA1 Message Date
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
Delyan Angelov
e45cd02029
mysql: always use #include <mysql.h>, rely on pkgconfig to get the correct include folder 2021-10-23 21:22:10 +03:00
Delyan Angelov
0401b5ece0
mysql: fix compilation with libmariadb-dev, but no libmysqlclient-dev installed 2021-10-22 16:44:08 +03:00
nyx-litenite
5b9553d5c4
orm: fix last_id() call in mysql (#12173) 2021-10-13 21:24:07 +03:00
Louis Schmieder
a55ba08fad
orm: fix time (#11026) 2021-08-03 05:17:00 +03:00
Louis Schmieder
26db3b0995
orm: redesign orm (re-write it in V) (#10353) 2021-07-23 12:33:55 +03:00
Uwe Krüger
60c880a0cc
vlib: use malloc_noscan() where possible (#10465) 2021-06-15 14:47:11 +03:00
Delyan Angelov
2e6611372a mysql: use v oksyntax for the example in the README.md, so that the check passes on m1 without installed mysql 2021-06-07 18:39:42 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Louis Schmieder
b15156d465
orm: fix mysql substructs (#9930) 2021-04-29 21:00:17 +03:00
Delyan Angelov
d4f31412b7
v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
joe-conigliaro
2d73411396
checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
Nick Treleaven
ea803113c3
checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
Don Alfons Nisnoni
d645e45752
mysql: add more documentation (#7846) 2021-01-09 10:40:21 +02:00
Swastik Baranwal
9291fb5e0c
checker: disallow comparison between enum and int (#7886) 2021-01-08 17:41:52 +01:00
Don Alfons Nisnoni
7533ffa48f
mysql: add README.md (#7824) 2021-01-04 18:37:10 +02:00
Don Alfons Nisnoni
e943d03298
mysql: migrate connection flags to enum instead of const, fix example (#7803) 2021-01-02 15:09:20 +02:00
sunnylcw
f934ca37c9
mysql: patch for Windows and FreeBSD (#6703) 2020-11-01 22:15:33 +01:00
Rolf Schmidt
3f5be0f4fc
mysql: fix unwrapped unsafe code of mysql lib (#6680). (#6681) 2020-10-26 11:21:28 +02:00
Lukas Neubert
f37e936321
pg, sqlite, mysql: run vfmt (#6650) 2020-10-19 20:11:04 +02:00
Delyan Angelov
36eae1c175
builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
Don Alfons Nisnoni
39c5c9b966
mysql: update documentation 2020-06-11 11:07:17 +03:00
Don Alfons Nisnoni
37e3cc0e72
mysql: simplify, add more functionality & documentation 2020-06-01 11:26:39 +02:00
yuyi
dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
yuyi
7f4cf08516
parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
Don Alfons Nisnoni
5bd3045498
mysql: Using int.str() instead of string(int) 2020-05-06 12:53:47 +03:00
Don Alfons Nisnoni
67a50b5b34
mysql: simplify Result.maps 2020-05-06 00:10:10 +02:00
Don Alfons Nisnoni
23df9b052e
mysql: update code & add a feature to get value as map 2020-05-04 14:58:24 +02:00
yuyi
2574dce174
all: fix remaining []array warnings 2020-04-26 16:25:54 +02:00
lutherwenxu
dc4db87be3
vlib: use new filename format 2020-04-11 19:51:32 +02:00
Alexey
a333ac1888
all: remove redundant parentheses in if statements 2020-03-29 10:08:42 +02:00
Alexander Medvednikov
ec4be80bcc Revert "db: increase db module level in vlib "
This reverts commit cd6d175180.
2020-03-26 09:23:54 +01:00
yuyi
cd6d175180
db: increase db module level in vlib 2020-03-26 09:21:34 +01:00
spaceface777
ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Don Alfons Nisnoni
4fc52948b3
mysql: wrap more APIs & organize module 2020-02-02 12:39:57 +01:00
Don Alfons Nisnoni
f7f5f43c48 mysql: add select_db method 2020-01-11 13:25:59 +01:00
Changsen XU 徐昶森
b3a402eb82 add mysql -I flag for ubuntu 18.04 (#3153) 2019-12-20 23:18:23 +03:00
Robert Cristof
ec36755407 mysql: add mysql.escape_string() 2019-12-13 19:12:42 +03:00
Don Alfons Nisnoni
f806e0f9e5 mysql: add error handling 2019-12-03 11:18:20 +03:00
Don Alfons Nisnoni
33793a869f mysql: make the struct public & update some code 2019-12-02 17:26:58 +03:00
Don Alfons Nisnoni
b1f0df0fd1 mysql: make compile 2019-09-26 03:18:26 +03:00
S-YOU
0066afe7fc mysql module 2019-08-18 17:24:43 +03:00