Commit Graph

62 Commits (fc64f09f0b2016c88bf93308c5e81c9509c2027d)

Author SHA1 Message Date
Louis Schmieder a83ac948a0
orm: document & fix pg (#14533) 2022-05-26 22:53:09 +03:00
Daniel Däschle d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Merlin Diavova 106487d62f
pg: resolve PG string datetime values to V time.Time ones (#14336)
Co-authored-by: Merlin Diavova <md@merlindiaova.org>
2022-05-08 15:37:46 +03:00
Merlin Diavova f8747d05dc
pg: add type 18 for pg boolean data type (#14335) 2022-05-08 07:17:43 +03:00
Alexander Medvednikov fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov af73e195da net: byte fixes 2022-04-15 15:55:39 +03:00
Alexander Medvednikov fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
Alexander Medvednikov d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
jeffmikels a60b381d5e
docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
Alexander Ivanov 0386f2bbea
checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) 2021-10-11 15:41:31 +03:00
Alexander Medvednikov 4a6d161c08 orm: postgres fixes 2021-09-30 20:00:27 +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
Delyan Angelov 8a380f4699
tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Louis Schmieder 7184629969
orm: add initial pg support (#9827) 2021-04-25 18:57:55 +03:00
Delyan Angelov d4f31412b7
v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
Vitalie Lazu cccca51788
pg: support for copy sql commands (#9272) 2021-03-13 08:06:53 +02:00
Quix 6a21b8cc8b
pg: fix typo (#8750) 2021-02-15 17:53:38 +02:00
Lukas Neubert df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
KJ Lawrence 7108f89b69
pg: fix exec & exec_param_many (#6782) 2020-11-09 08:22:16 +01:00
Lukas Neubert f37e936321
pg, sqlite, mysql: run vfmt (#6650) 2020-10-19 20:11:04 +02:00
Enzo fd88bfbac8
fmt: fix formatting of anon args (#6545) 2020-10-04 06:32:47 +02:00
Leonardo Cecchi 51987e17df
pg: make `exec`, `q_int` and `q_strings` return an optional (#6554) 2020-10-04 06:31:47 +02:00
Leonardo Cecchi 8ac0bd44bd
pg: avoid leaking a PGconn on connection errors (#6543) 2020-10-03 07:03:11 +02:00
Leonardo Cecchi 21c5ff681b
pg: add binding for PQfinish (close) (#6435) 2020-09-21 01:47:37 +02:00
Maciej Obarski 7bd2804ce9
all: automatic error propagation in place of "or { return(err) }" 2020-08-29 01:58:03 +02:00
jhuntos c42ca84850
pg: fix array init warnings (#6163) 2020-08-19 07:10:09 +02:00
Delyan Angelov 36eae1c175
builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
jhuntos 20884c9576
pg: call PQclean in rows() 2020-06-26 11:55:59 +02:00
Delyan Angelov 2b6ba63a55 ci: fix tests (most CI jobs do not have pg set up) 2020-06-07 18:08:31 +03:00
Alexander Medvednikov e029044b13 pg: fix compilation 2020-06-07 16:05:44 +02:00
Louis Schmieder 40aad27a67
pg: remove `pg.` 2020-05-10 21:16:03 +02:00
yuyi 2574dce174
all: fix remaining `[]array` warnings 2020-04-26 16:25:54 +02:00
yuyi a6347118cd
pg: add windows include and lib flag 2020-03-26 14:17:13 +01: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
Charles WANG 7e1870be3e
pg: create readme.md 2020-03-10 15:00:22 +01:00
Ian M. Jones 522de0871a
pg: fix zero being used for port when not specified in pg.Config 2020-03-06 18:40:24 +01:00
Alexander Medvednikov efb45579aa
pg: add port to config 2020-03-06 02:01:53 +01:00
Major Taylor c72e505fe4
pg: use unsafe 2020-02-26 23:17:56 +01:00
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Frederico Silva 2678f9289e pg: connect, use password 2020-01-12 19:35:20 +01:00
Delyan Angelov ddd83c2108 pg: add db.exec_param_many() 2020-01-03 22:07:28 +01:00
Alexander Medvednikov 71c0c4803f ORM fixes 2019-12-06 02:00:37 +03:00
Alexander Medvednikov 9bfea5e60b pg: define all C functions 2019-11-25 06:55:29 +03:00
Alexander Medvednikov 0fb0c43c0a pg: minor fixes 2019-11-23 19:48:00 +03:00
Unknown User 6edc25f512 pg: remove unused imports 2019-10-08 13:23:39 +03:00
joe-conigliaro f1f720cc78 pg: update optional return syntax 2019-09-26 14:23:29 +03:00
iRedMail 92b634de7c Fixes old syntax and make Row.vals mutable
- Replace `*` by `&` for C code
- Make `Row.vals` mutable. Otherwise line 56 will raise error.
2019-09-13 00:46:51 +03:00
Alexander Medvednikov f61b14584a remove "import const" everywhere 2019-08-23 00:09:03 +03:00