Commit Graph

48 Commits

Author SHA1 Message Date
Reinaldy Rafli 5af711e253
refactor: clean up test create table 2021-11-09 12:23:45 +07:00
Reinaldy Rafli 8f6a475880
chore: merged with master 2021-11-09 12:20:44 +07:00
Reinaldy Rafli a891b58ffb
chore: fmt 2021-11-09 12:16:31 +07:00
Reinaldy Rafli 070280bdf7
feat: create index method 2021-11-09 12:16:10 +07:00
Reinaldy Rafli 1108d9865a fix: make PlaceholderFormat not required 2021-11-09 11:20:28 +07:00
Reinaldy Rafli 8163afaf1b
fix: make PlaceholderFormat not required 2021-11-09 11:06:40 +07:00
Reinaldy Rafli 4ec5b9092b
Merge pull request #9 from aldy505/perf/builder
perf: migrate bytes.Buffer to strings.Builder for micro optimization
2021-11-05 12:21:26 +07:00
Reinaldy Rafli 3e4261df9e
perf: migrate bytes.Buffer to strings.Builder for micro optimization 2021-11-05 12:13:20 +07:00
Reinaldy Rafli f1008bdf4a
Merge pull request #7 from aldy505/feat/drop_cascade
feat: drop cascade & restrict
2021-11-05 12:09:59 +07:00
Reinaldy Rafli 8a461fef1a
feat: drop cascade & restrict 2021-11-05 12:06:47 +07:00
Reinaldy Rafli efa752f2ab test: refactored 2021-07-31 12:03:31 +07:00
Reinaldy Rafli cb9e7b01c4
Merge pull request #3 from aldy505/feat/upsert
Feat/upsert (WIP)
2021-07-31 11:51:10 +07:00
Reinaldy Rafli b5df4ae1f0 test: refactor & running fmt 2021-07-31 11:48:40 +07:00
Reinaldy Rafli 4a022225f2 docs: documentation for upsert 2021-07-31 11:44:21 +07:00
Reinaldy Rafli 0f060565d6 refactor: unexported function & documentation 2021-07-31 11:27:31 +07:00
Reinaldy Rafli 49cf645a9e refactor: clean up exported funcs 2021-07-31 11:17:48 +07:00
Reinaldy Rafli ecefcdb710 test: dialect not supported 2021-07-25 14:01:07 +07:00
Reinaldy Rafli 1b25a09302 test: error tests 2021-07-25 13:58:44 +07:00
Reinaldy Rafli c59e6acdd6 test: fixed tests 2021-07-25 13:47:52 +07:00
Reinaldy Rafli 4a75bedea3 feat: upsert (test not working yet) 2021-07-25 11:41:39 +07:00
Reinaldy Rafli 50c8d98f3a docs: new features 2021-07-25 01:47:02 +07:00
Reinaldy Rafli c9b01eeb67 feat: truncate rename and drop 2021-07-25 01:35:12 +07:00
Reinaldy Rafli 0d704c88df
docs: grammar 2021-07-22 01:47:19 +07:00
Reinaldy Rafli 0a8dbefad7
Merge pull request #2 from aldy505/feat/definition
feat: using a column definition builder
2021-07-21 17:36:10 +07:00
Reinaldy Rafli 4940a22a5a docs: column types 2021-07-21 17:24:05 +07:00
Reinaldy Rafli b6fad37b7a fix: atp placeholder conversion 2021-07-21 17:16:38 +07:00
Reinaldy Rafli 6186e8aa9a docs: thorough documentation 2021-07-21 17:15:30 +07:00
Reinaldy Rafli 43eb8f4234 test: simplify test 2021-07-21 16:58:19 +07:00
Reinaldy Rafli 4603861691 feat: float and real type 2021-07-21 16:55:33 +07:00
Reinaldy Rafli 9c7a6285ca docs: correct example with current feature 2021-07-21 16:00:05 +07:00
Reinaldy Rafli a72d6174fa chore: error definition var 2021-07-21 15:59:53 +07:00
Reinaldy Rafli a4dd89213f test: more tests 2021-07-21 15:35:57 +07:00
Reinaldy Rafli ca2d51bc7a feat: initial column definition types 2021-07-21 14:50:05 +07:00
Reinaldy Rafli 86eb9e0935 docs: examples for create table if not exists 2021-07-09 13:47:26 +07:00
Reinaldy Rafli ef78c0b03a fix(breaking): ToSQL > ToSql for compat with Squirrel 2021-07-09 13:41:34 +07:00
Reinaldy Rafli e675c80934 feat: added CreateTableIfNotExists 2021-07-09 13:39:30 +07:00
Reinaldy Rafli 724b9432be refactor: moved args to util 2021-07-09 13:39:13 +07:00
Reinaldy Rafli 75547d606a docs: tabs to space 2021-06-30 23:01:13 +07:00
Reinaldy Rafli 80893d1fdf docs: decent example 2021-06-30 22:58:25 +07:00
Reinaldy Rafli 8d6de642b2 fix: backtick only works with mysql 2021-06-30 22:57:32 +07:00
Reinaldy Rafli 03e6bdb7fc fix: replacePlaceholder now do things properly
test: added more tests
2021-06-26 09:57:08 +07:00
Reinaldy Rafli 5c112c73f6 feat: added has query 2021-06-26 00:04:41 +07:00
Reinaldy Rafli 807f5af0ba docs: added badges :) 2021-06-25 14:32:12 +07:00
Reinaldy Rafli 18408e856b test: typo on table name 2021-06-24 15:18:23 +07:00
Reinaldy Rafli 2d720a1cde test(create): added more test on errors 2021-06-24 15:15:57 +07:00
Reinaldy Rafli 6c36822ecc feat(error): error on empty table name; error on missing primary and unique key in columns; 2021-06-24 15:15:36 +07:00
Reinaldy Rafli d9ece27fff ci: typo on workflow -> workflows 2021-06-24 14:44:43 +07:00
Reinaldy Rafli 82c04c6290 feat: initial 2021-06-24 14:43:28 +07:00