Vinícius Garcia
aa9cfe10a7
Force the CI to run
2022-05-23 08:33:45 -03:00
Vinícius Garcia
e24c6f0351
Force the CI to run
2022-05-23 08:33:43 -03:00
Vinícius Garcia
7a7ffdc3f6
Force the CI to run
2022-05-23 08:33:41 -03:00
Vinícius Garcia
cc4723caaf
Force the CI to run
2022-05-23 08:32:25 -03:00
Vinícius Garcia
501d7afef6
Force the CI to run
2022-05-23 08:30:56 -03:00
Vinícius Garcia
aed90e4cdd
Force the CI to run
2022-05-23 08:28:15 -03:00
Vinícius Garcia
6caf9d7a80
Force the CI to run
2022-05-17 21:14:06 -03:00
Vinícius Garcia
baaf315ab2
Force the CI to run
2022-05-17 19:59:21 -03:00
Vinícius Garcia
cb6896b3fa
Force the CI to run
2022-05-17 19:53:33 -03:00
Vinícius Garcia
4012269ccd
Force the CI to run
2022-05-17 00:05:10 -03:00
Vinícius Garcia
d7d61f6aa9
Force the CI to run
2022-05-17 00:03:01 -03:00
Vinícius Garcia
bd5b4a90b4
Force the CI to run
2022-05-16 23:58:40 -03:00
Vinícius Garcia
6853016e34
Force the CI to run
2022-05-16 23:53:26 -03:00
Vinícius Garcia
576b0380fc
Force the CI to run
2022-05-16 23:48:49 -03:00
Vinícius Garcia
99bfc0b074
force ci to run
2022-04-19 11:35:13 -03:00
Vinícius Garcia
687269d58d
for ci to run
2022-04-19 11:16:54 -03:00
Vinícius Garcia
6bce16be80
Update README and examples to use `defer db.Close()`
2022-04-19 11:11:12 -03:00
Vinícius Garcia
d98c30e91a
Force CI to run
2022-04-19 10:17:43 -03:00
Vinícius Garcia
1224a1b297
Mention the new ksql.Mock examples on the README
2022-04-06 18:32:37 -03:00
Vinícius Garcia
660904718b
Update README with some ksql.Mock examples
2022-03-29 23:03:46 -03:00
Vinícius Garcia
f6ed380095
Fix false failed build by forcing it to run again
...
I made no changes in the code but because of how codecov works
it is falsely reporting that the test coverage changed to a lower
value.
2022-03-26 22:18:28 -03:00
Vinícius Garcia
04e5e5da7b
Update the README.md TODO list
2022-03-15 16:59:09 -03:00
Vinícius Garcia
9b18a8fbcf
Minor improvements on the text of the README file
2022-02-22 22:40:37 -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
53c48aecce
Update benchmarks
2022-01-20 18:54:08 -03:00
Vinícius Garcia
00f4a6ceae
Improve the read examples
2022-01-10 21:47:52 -03:00
Vinícius Garcia
d98cf857c0
Improve README
2021-12-28 21:11:09 -03:00
Vinícius Garcia
9be7f9fe35
Improve README
2021-12-28 21:10:23 -03:00
Vinícius Garcia
348fd0cec8
Reorder the badges on the README file
2021-12-28 21:09:17 -03:00
Vinícius Garcia
d7bbf441c4
Fix CI badge after renaming the ci.yml file
2021-12-28 21:08:47 -03:00
Vinícius Garcia
23fc43e523
Improve README
2021-12-28 21:07:48 -03:00
Vinícius Garcia
bb7e3bdc23
Add code coverage badge to README
2021-12-28 20:22:35 -03:00
Vinícius Garcia
a31ae530a9
Merge pull request #10 from VinGarcia/v2.0.0
...
This PR includes one breaking change:
- The `Provider.Exec` function now returns 2 values instead of only the error, the extra argument is the number of affected rows.
This PR also adds:
- CI with tests and linter
- Dockertest for making tests easier to run not only on CI but also on local machines for contributors
- Some bug fixes: Now we are handling a few edge cases better:
* If a struct has duplicated ksql tag names we will return an error instead of failing silently
* If a struct has no ksql tags we will return an error instead of failing on the query
* If a struct has attributes with no ksql tags they will be safely ignored instead of causing an error
* If a jointed table struct has an extra attribute with no `tablename` tag it will be ignored too because having an error for this would be more confusing than just ignoring it.
2021-12-23 23:19:34 -03:00
Vinícius Garcia
733dc2b20b
Add status badge
2021-12-22 22:19:00 -03:00
Vinícius Garcia
9a30559efa
Improve README
2021-12-15 00:27:44 -03:00
Vinícius Garcia
70cfbccce2
Update README to include the new instructions on how to run the tests
2021-12-15 00:20:51 -03:00
Vinícius Garcia
6a4ec2cd51
Update Exec signature to return the number of affected rows
2021-11-26 22:13:56 -03:00
Vinícius Garcia
97e248916c
Update README.md
2021-11-25 17:47:26 -03:00
Vinícius Garcia
a1403dc9d3
Simplify the signature of the Delete() method
...
This change was finally made because the Delete function was the
only helper function that was not returning the ksql.ErrRecordNotFound
when no rows were found.
The other reason for this change is that we the most common use case is
by far for deleting a single element, and the philosophy of the library
is to optimize for the most common use-cases.
For making it easier to write queries for deleting many items
as well as many other less common use cases we
are already implementing the `kbuilder` package which is a
query builder.
2021-11-22 19:42:33 -03:00
Vinícius Garcia
40215d8099
Minor improvement on README file
2021-11-16 21:55:09 -03:00
Vinícius Garcia
cb3d8eb572
Update benchmarks on README to include sql with prep statements
2021-11-16 21:18:23 -03:00
Vinícius Garcia
fc6a9c2950
Update README with the fixed version of the benchmark
2021-11-16 20:01:56 -03:00
Vinícius Garcia
25781352cb
Add adapters for each possible db technology
2021-11-14 14:54:01 -03:00
Vinícius Garcia
54f19522e6
Update benchmarks on README
2021-11-14 11:23:54 -03:00
Vinícius Garcia
a4617fc3b4
Update benchmarks on README.md
2021-11-14 01:46:41 -03:00
Vinícius Garcia
0090b791d2
Update benchmark results on README.md
2021-11-14 01:14:11 -03:00
Vinícius Garcia
a9c810d4a3
Update README
2021-11-07 01:59:05 -03:00
Vinícius Garcia
22fa8fdfa4
Improve the description of the Provider interface
2021-09-03 11:08:52 -03:00
Vinícius Garcia
6e3e558407
Update benchmark on README
2021-08-01 15:20:22 -03:00
Vinícius Garcia
ec749af84c
Update benchmarks by running the PGx adapter benchmarks
2021-08-01 11:57:03 -03:00