72 Commits

Author SHA1 Message Date
Vinícius Garcia
a06a19aa97 Add Open To Work section to README 2025-07-08 16:07:22 -03:00
Vinícius Garcia
112b70414f Fix code coverage problem 2025-06-08 16:58:22 -03:00
Vinícius Garcia
14b1ba47d3 Simplify readme example 2024-10-23 23:39:17 -03:00
Vinícius Garcia
0a313c19a4 Improve README examples 2024-10-23 23:24:32 -03:00
Vinícius Garcia
860b1cc9a0 Add modernc-sqlite to examples/all_adapters 2023-10-22 10:51:20 -03:00
Vinícius Garcia
758f81e3fb Add documentation for the new modernc-sqlite adapter 2023-10-19 22:26:51 -03:00
Vinícius Garcia
a20099519f Update adapters to use version v1.10.0 2023-10-19 22:09:28 -03:00
Vinícius Garcia
8ead71532e Add a code example for inserting many records in a single query 2023-10-19 09:26:08 -03:00
Vinícius Garcia
10dc044002 Try to fix CI 2023-08-25 13:52:20 -03:00
Vinícius Garcia
7c33cc8d2d Update adapters to use version v1.9.1 2023-08-14 10:43:23 -03:00
Vinícius Garcia
8198548deb Update adapters to use version v1.9.0 2023-07-16 22:18:20 -03:00
Vinícius Garcia
ecd2ea45aa Improve log injection example 2023-07-16 22:16:54 -03:00
Vinícius Garcia
077033b3ff Minor improvements to the InjectLogger feature 2023-07-15 22:43:25 -03:00
Vinícius Garcia
ac97982e65 Fix CI issue regarding an implicit dependency used on the examples 2023-07-02 22:24:40 -03:00
Vinícius Garcia
c810da865e Improve pgxsupport example 2023-07-02 22:16:17 -03:00
Vinícius Garcia
e9cf2c5f32 Add examples/pgxsupport 2023-07-02 21:57:16 -03:00
Vinícius Garcia
9311b4a17d Update adapters to use version v1.8.0 2023-05-21 11:11:04 -03:00
Vinícius Garcia
78976c1f42 Update adapters to use version v1.7.1 2023-04-05 22:33:50 -03:00
Vinícius Garcia
0362d5ace0 Add kpgx5 adapter 2023-04-04 23:18:14 -03:00
Vinícius Garcia
e312b134fb Fix one issue on kpgx.go by updating to latest version 2023-04-04 23:09:07 -03:00
Vinícius Garcia
84b4b86383 Start writing pgx5 adapter 2023-02-01 10:56:03 -03:00
Vinícius Garcia
c676e8f799 Update adapters to use version v1.7.0 2022-12-21 22:25:23 -03:00
Vinícius Garcia
24599e6644 Improve NewWithAdapter to expect a dialect instead of a driver name 2022-12-21 21:23:54 -03:00
Vinícius Garcia
9f2ffa84f6 Update adapters to use version v1.6.0 2022-12-17 15:10:13 -03:00
Vinícius Garcia
d6aa694f82 Update README and the README build script 2022-12-04 20:39:29 -03:00
Vinícius Garcia
340a320281 Update adapters to use version v1.5.1 2022-11-29 09:27:49 -03:00
Vinícius Garcia
13c6f3cbc6 Update adapters to use version v1.5.0 2022-11-13 14:14:18 -03:00
Vinícius Garcia
af37427192 Update adapters to use version v1.4.13 2022-11-13 12:56:40 -03:00
Vinícius Garcia
6c0f8ae6b1 Update all adapters to use latest version of KSQL 2022-11-13 11:02:15 -03:00
Vinícius Garcia
5bfb5cd92a Improve error messages for scan errors on all adapters 2022-11-12 15:20:06 -03:00
Vinícius Garcia
fc2b32d919 Remove mention to old name KissSQL 2022-09-28 21:05:24 -03:00
Vinícius Garcia
3a9971628a Minor fix on the crud example 2022-09-28 21:01:53 -03:00
Vinícius Garcia
32470ddce4 Update adapters to use latest ksql version 2022-07-19 14:15:48 -03:00
Vinícius Garcia
7ec3ef011d Remove dependency on ditointernet/go-assert 2022-07-16 13:31:38 -03:00
Vinícius Garcia
cf93f7441a Update README by moving some specialized sections to the Wiki 2022-07-03 23:43:58 -03:00
Vinícius Garcia
3701f0f325 Simplify repo example 2022-05-07 22:30:30 -03:00
Vinícius Garcia
527c79ad1c Add an example repository showing how to use transactions 2022-05-07 22:26:27 -03:00
Vinícius Garcia
550ba9e8d9 Update examples/all_adapters so it uses db.Close() 2022-04-22 19:19:19 -03:00
Vinícius Garcia
e78fced5e6 Update all subpackages to use latest ksql version 2022-04-22 19:16:53 -03:00
Vinícius Garcia
76bad8c8f2 Try to fix CI again 2022-04-20 20:01:10 -03:00
Vinícius Garcia
3899bb8a75 Update go.mod for fixing CI 2022-04-20 19:20:41 -03:00
Vinícius Garcia
2e3c809c8c Update README and examples to use defer db.Close() 2022-04-19 11:13:02 -03:00
Vinícius Garcia
2bf3a1a124 Create new example test showing how to use ksql.Mock{} 2022-04-06 18:29:28 -03:00
Vinícius Garcia
60835ac429 Fix go.mod on examples module 2022-03-27 09:46:29 -03:00
Vinícius Garcia
18377f18f9 Try to fix codecov on CI 2022-03-15 19:55:08 -03:00
Vinícius Garcia
8eb3c86410 Refactor all adapters as separate modules 2022-03-15 13:03:41 -03:00
Vinícius Garcia
06b871a418 Deprecate kstructs in favor of ksqltest 2022-02-22 22:41:15 -03:00
Vinícius Garcia
2e1aa80770 Breaking Change: changes the Exec() signature so it returns an extra value
The signature was updated from

- `Exec(...) (rowsAffected int64, _ error)`

To:

- `Exec(...) (ksql.Result, error)`

Result is an interface, so it should be easy to mock, we are also
providing a new builtin mock struct + constructor to make it even easier:

Building new mock Result: `ksql.NewMockResult(lastInsertID int64, rowsAffected int64) Result`
2022-02-22 16:49:48 -03:00
Vinícius Garcia
7a57e38228 Deprecate Update() in favor of a better fn name: Patch() 2022-02-22 16:14:15 -03:00
Vinícius Garcia
a394fd0815 Move some functions to the internal package 2022-01-11 19:00:22 -03:00