110 Commits

Author SHA1 Message Date
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
Vinícius Garcia
c1a44c8e56 Update benchmark on README 2021-07-31 19:09:05 -03:00
Vinícius Garcia
e73db4a216 Abstract the DBAdapter so that we can support other sql adapters
This was done for a few different reasons:

1. This allows us to work on top of the pgx client in the future
2. This would allow our users to implement their own DBAdapters
   to use with our tool.
3. This gives the users the option of using advanced configs
   of any sql client they want to use and just feed us with it
   after the configuration is done, which means we will not have
   to worry about supporting a growing number of configurations
   as we try to add support to more drivers or if we get issues
   asking for more advanced config options.
2021-07-31 18:55:08 -03:00
Vinícius Garcia
b6e6667a3f Improve the names of some public types *breaking change* 2021-06-28 17:35:46 -03:00
Vinícius Garcia
5b351c8ba2 Rename package structs to kstructs so its unambiguous 2021-06-11 12:53:56 -03:00
Vinícius Garcia
20f49eb22b Reorganize files so the test helpers are grouped in the same pkg 2021-06-11 12:25:24 -03:00
Vinícius Garcia
75330a12c5 Update benchmark on README 2021-06-06 21:11:05 -03:00
Vinícius Garcia
cc4e73dc62 Update README to describe the new interface 2021-06-06 20:56:20 -03:00
Vinícius Garcia
936d387221 Minor improvment on README 2021-06-06 10:10:01 -03:00
Vinícius Garcia
1e434b0b78 Fix code identation on README.md 2021-06-03 23:22:03 -03:00
Vinícius Garcia
208ce07d6e
Update README.md 2021-06-03 23:00:19 -03:00
Vinícius Garcia
3c57bcf1d7 Minor improvement in README 2021-06-03 22:56:50 -03:00
Vinícius Garcia
2ad920968a Update README to explain the composite structs feature 2021-06-03 22:54:39 -03:00
Vinícius Garcia
4e201031b7 Update README to include the feature of generating the SELECT part of the query 2021-05-23 15:04:24 -03:00
Vinícius Garcia
d8ca3cab8d Improve README intro 2021-05-19 23:44:03 -03:00
Vinícius Garcia
d275555df5 Update TODO list 2021-05-15 10:53:12 -03:00
Vinícius Garcia
cb84b02e2e Improve README so the fact that the benchmark results are good is enphasized 2021-05-10 09:38:45 -03:00
Vinícius Garcia
56aa77135c Add support to the sqlserver driver =] 2021-05-09 22:33:03 -03:00
Vinícius Garcia
2dd55131d5 Add README instructions on how to run the tests 2021-05-08 13:02:01 -03:00
Vinícius Garcia
398f7f43d7 Update README code example to use the new constructor 2021-04-06 10:21:07 -03:00
Vinícius Garcia
1fc58339fb Update README 2021-03-12 11:05:12 -03:00
Vinícius Garcia
8b8fb092d8 Replace all instances of lower-cased kisssql for ksql 2021-03-10 10:11:18 -03:00
Vinícius Garcia
3d14ed0296 Add an example call to the Transaction function on README 2021-03-08 16:11:59 -03:00
Vinícius Garcia
1972ccd989 Fix typo on README 2021-03-08 13:34:45 -03:00
Vinícius Garcia
568c61bdba Replace all ocurrencies of KissORM for KissSQL 2021-03-08 11:18:52 -03:00
Vinícius Garcia
0bd858efee Update TODO list on README 2021-03-04 22:59:26 -03:00
Vinícius Garcia
d91c7cfcfd Update benchmark 2021-03-04 22:30:33 -03:00
Vinícius Garcia
ff4952da65 Partially update example_service to include the JSON feature
Its only partial because currently the function `structs.FillStructWith`
doesn't support the attributes tagged as `kissorm:"?,json"`

The task of updating the FillStructWith was updated to include this
behavior
2021-03-04 22:24:15 -03:00
Vinícius Garcia
6f1885d3a0 Update examples/crud to include the JSON feature 2021-03-04 22:11:58 -03:00
Vinícius Garcia
097cd943fd Update README file 2021-03-02 22:53:10 -03:00
Vinícius Garcia
f5b7ab8028 Refactor the structInfo struct so it can accept more information 2021-02-28 12:25:42 -03:00
Vinícius Garcia
203b141aca Add support for tables with composite keys 2021-02-15 20:57:51 -03:00
Vinícius Garcia
e1e711dc91 Add a Benchmark comparing us with the sqlx package 2021-01-22 21:25:14 -03:00
Vinícius Garcia
77631f480c Smal improvement on the README file 2021-01-20 11:03:38 -03:00
Vinícius Garcia
0f49ad180d Sort README #TODO List in order of priority 2021-01-17 20:29:51 -03:00