Huan Du and GitHub
b1bf57945d
Merge pull request #133 from cemremengu/insertselect
...
add subselect builder for insert
2023-11-20 18:30:21 +08:00
cemre.mengu
44aa6b2562
remove unecessary oracle check
2023-11-19 20:26:16 +03:00
cemre.mengu
292410e6b4
add subselect builder for insert
2023-11-18 12:36:05 +03:00
Huan Du
18543198f5
fix #125 : add more alias funcs in Cond for readability
2023-11-04 14:42:56 +08:00
Huan Du
e0fd349ac7
update doc and tests for oracle flavor
2023-11-04 14:33:25 +08:00
Huan Du and GitHub
7ab40d7a97
Merge pull request #126 from zhangyongding/master
...
support oracle
2023-11-03 20:40:19 +08:00
maixl
145a39160f
移除ForeachReadForTag和ForeachWriteForTag函数
2023-11-02 08:28:25 +08:00
maixl
1490edd776
修复分页查询的的bug
2023-10-16 08:32:05 +08:00
maixl
61cf17e67a
修复分页查询时存在order by返回结果不正确的bug
2023-10-10 20:49:21 +08:00
zhangyd
bf46b299f2
fix bug
2023-09-19 15:43:54 +08:00
zhangyd
89af7205a9
oracle的limit和offset改为固定参数
2023-09-19 09:11:42 +08:00
zhangyd
39fc042a98
修复多表查询时oracle分页的bug
2023-09-18 14:09:48 +08:00
zhangyd
f5180d1584
fix bug
2023-09-15 21:06:16 +08:00
zhangyd
b317170923
oracle support limit
2023-09-15 18:10:54 +08:00
zhangyd
92b7453ec1
oracle supports insert multiple values
2023-09-12 15:09:05 +08:00
tianfw
9cd8ddcc2c
support oracle
2023-08-27 21:18:36 +08:00
zhangyongding
455e7cda19
add func ForeachRead
2023-08-11 09:28:46 +08:00
zhangyongding
e4c1e6d0e0
The ForeachRead function add isQuoted input parameters
2023-08-09 14:07:32 +08:00
zhangyongding
3c091eb813
add func for foreach tags
2023-08-08 11:07:34 +08:00
zhangyongding
73b1f4d410
add get alias func
2023-07-28 15:06:54 +08:00
zhangyongding
096b0896e9
supports custom DBTag content
2023-07-25 09:13:42 +08:00
Huan Du and GitHub
447c14160c
Merge pull request #117 from huandu/feature-tuples
...
Fix #108 : Support tuple
2023-07-22 23:13:48 +08:00
Huan Du and GitHub
359d93b36f
Merge pull request #116 from huandu/feature-generate-sql-only-when-value-is-set
...
Fix #115 : Generate SQL only when necessary values are set
2023-07-22 23:12:40 +08:00
Huan Du
2364e7835b
add doc
2023-07-22 22:54:09 +08:00
Huan Du
218c717c01
refs #108 : support tuples
2023-07-22 22:51:03 +08:00
Huan Du
769091c858
refs #115 : Generate SQL only when necessary values are set
2023-07-22 20:50:59 +08:00
Huan Du and GitHub
cb38c02175
Merge pull request #102 from huandu/feature-more-cond
...
fix #100 Add EXISTS/NOT EXISTS/ANY/SOME/ALL in `Cond`
2023-04-01 16:57:49 +08:00
Huan Du
fa218b8b11
update sample output in README
2023-04-01 16:48:19 +08:00
Huan Du and GitHub
875363b309
Merge pull request #99 from huandu/feature-presto
...
fix #98 Add new flavor Presto
2023-04-01 16:46:56 +08:00
Huan Du
eb96df9e68
refs #100 add EXISTS/NOT EXISTS/ANY/SOME/ALL in Cond
2023-04-01 16:43:22 +08:00
Huan Du
ce1b345ef8
update doc
2023-03-27 23:31:03 +08:00
Huan Du
0b1c445a5c
refs #98 add new flavor Presto
2023-03-27 23:17:33 +08:00
Huan Du and GitHub
4c1daa8aab
Merge pull request #96 from huandu/feature-with-without-tag
...
More flexibility to filter fields with WithTag and WithoutTag in Struct
2023-02-27 10:15:47 +08:00
Huan Du
ca5bb168f8
update test cases and examples for better coverage
2023-02-27 10:13:49 +08:00
Huan Du
42130d3b3a
refs #60 . more flexibility to filter fields with WithTag and WithoutTag in Struct
2023-02-27 00:59:49 +08:00
Huan Du
59650fe906
update readme and format code
2023-01-12 17:08:08 +08:00
Huan Du and GitHub
e7e2630261
Merge pull request #85 from datastax-ext/master
...
Add CQL support
2023-01-11 19:27:34 +08:00
Spencer Connaughton
86810be49d
Fix insert test.
2023-01-09 16:34:03 -05:00
Spencer Connaughton
fa3dc6eaa7
Remove NOW.
2023-01-05 17:37:17 -05:00
Spencer Connaughton
d4eb709637
Remove IF.
2023-01-05 10:27:07 -05:00
Spencer Connaughton
8880301f5b
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# README.md
# args.go
# flavor.go
# insert_test.go
# interpolate.go
# interpolate_test.go
# select_test.go
# struct.go
# struct_test.go
2023-01-05 10:19:05 -05:00
Huan Du
9ca8334e83
Merge branch 'hanyuancheung-feature/support_clickhouse_grammar'
2022-12-15 16:02:19 +08:00
Huan Du
bd37a413aa
fix incorrect verb for InsertBuilder
2022-12-15 16:01:21 +08:00
csuzhang
1596455534
fix unhex and test in local clickhouse
2022-12-15 11:13:57 +08:00
csuzhang
5e488c7059
fix unhex and flavor bug
2022-12-13 16:03:18 +08:00
csuzhang
67863e4274
fix readme
2022-12-12 17:46:29 +08:00
csuzhang
3a20376e15
support ClickHouse Grammar
2022-12-12 17:41:50 +08:00
csuzhang
561104398a
support ClickHouse Grammar
2022-12-12 17:34:23 +08:00
39a4b2509b
Merge remote-tracking branch 'upstream/master' ( #2 )
...
* ignore unexported fields that are not embedded structs
* fix #74 [BREAKING CHANGE] Select#GroupBy and Select#OrderBy behavior change.
Previous, GroupBy and OrderBy only keep the columns in the last call. Now, all columns are kept.
* fix #75 add Struct#Columns/ColumnsForTag and Struct#Values/ValuesForTag
* remove a call to StructField.IsExported as it is not in go1.13
* refs #78 add new `fieldas` tag to set AS name for SELECT
* update docs
* fix #81 refactory struct field parser to make fieldas correct in all cases
* Add Gitter badge
* Fix insert ignore for postgres and sqlite.
* fix test
Co-authored-by: Michał Dobaczewski <[email protected] >
Co-authored-by: Huan Du <[email protected] >
Co-authored-by: The Gitter Badger <[email protected] >
Co-authored-by: Zhong Ren <[email protected] >
2022-11-30 10:57:35 -05:00
Huan Du and GitHub
8e5a46ebd2
Merge pull request #91 from huandu/feature-driver-valuer
...
fix #90 Support driver.Valuer type in Struct and interpolate methods
2022-11-24 16:42:12 +08:00