Commit Graph

47 Commits (22fa8fdfa492f46168854199e869d524eb20ec0f)

Author SHA1 Message Date
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
Vinícius Garcia f06706b081 Fix scanRows to ignore extra columns from query without errors 2021-01-17 20:26:34 -03:00
Vinícius Garcia 0b97dbcff7 Improve reflection checks on Insert() function 2021-01-17 19:25:21 -03:00
Vinícius Garcia 400f94e088 Update ORMProvider interface displayed on README 2021-01-15 10:46:47 -03:00
Vinícius Garcia 98cbc4e161 Fix database locked errors on tests
There was a missing `defer rows.Close()` on the ScanRows tests.
2021-01-12 22:18:59 -03:00
Vinícius Garcia 1d3fadc1f2 Update README.md 2021-01-12 20:46:29 -03:00
Vinícius Garcia 76830d5f5c Rename `examples/testing/` to `examples/example_service/` 2021-01-03 13:58:10 -03:00
Vinícius Garcia 689a60710d Update README to mention the example tests 2021-01-03 13:54:08 -03:00
Vinícius Garcia e49aa5f620 Add example tests to `examples/testing` 2021-01-03 13:41:21 -03:00
Vinícius Garcia 7ab871dad2 Update README and add an usage example 2020-12-31 14:10:47 -03:00
Vinícius Garcia c7e743527f Add README.md 2020-11-10 11:16:39 -03:00