Commit Graph
47 Commits
Author SHA1 Message Date
Javier Palomo AlmenaandGitHub e6c330fd9f README: Fix 's.SelectForTag(table, "foo")' example
It was referring twice to `field3`.
2018-04-24 23:03:34 +02:00
Huan Du 1a61b6d200 fix #9. remove the limit set in Struct#SelectFrom. 2018-03-15 20:23:40 +08:00
Huan Du 7ad5c7dd9c use DefaultFlavor by default in NewStruct 2018-02-22 23:23:22 +08:00
Huan DuandGitHub a46735a820 Merge pull request #7 from huandu/feature-quote-field
Support quote in Struct
2018-02-22 22:11:55 +08:00
Huan Du c5133ff161 support quote in Struct 2018-02-22 22:08:57 +08:00
Huan Du 88302d2a18 fix #6. fix incorrect marker when nesting builders with PostgreSQL flavor. 2018-02-04 22:48:08 +08:00
Huan Du e219582f5a fix #6. support Postgre-flavor markers. 2018-02-04 21:49:42 +08:00
Huan DuandGitHub d4051fbed9 Merge pull request #4 from petersunbag/master
fix typo
2018-01-22 19:28:33 +08:00
petersunbag 059b02a0f5 fix typo 2018-01-22 18:39:13 +08:00
Huan Du 7fed9202e6 escape format string in Buildf 2018-01-11 12:41:41 +08:00
Huan DuandGitHub 925106652c Merge pull request #3 from petersunbag/feature_bulkinsert
support bulk insert in `Struct#InsertInto` and `Struct#InsertIntoForTag`
2018-01-08 20:20:42 +08:00
petersunbag 47d4ff6365 clean code 2018-01-08 20:12:25 +08:00
petersunbag f942575b8c Merge branch 'master' into feature_bulkinsert 2018-01-08 13:40:34 +08:00
petersunbag d89336ca7e InsertInto and InsertIntoForTag receive ...interface{} 2018-01-08 13:29:16 +08:00
Huan Du e480534266 fix travis ci build break on pull requests 2018-01-07 23:42:42 +08:00
petersunbag 9abfa340c3 struct bulk insert 2018-01-07 22:04:04 +08:00
Huan Du fc457a697a update doc 2017-12-31 21:09:26 +08:00
Huan Du f039956b9d add SelectBuilder#BuilderAs to make embedding builders easier 2017-12-31 20:38:03 +08:00
Huan Du eef30ff185 add BuildNamed 2017-12-31 20:31:07 +08:00
Huan Du ff11beaf50 update doc 2017-12-31 01:57:03 +08:00
Huan Du ec2d60bdf3 add test cases 2017-12-31 01:30:01 +08:00
Huan Du 91c307bc49 add scripts for coverall 2017-12-31 01:18:50 +08:00
Huan Du 49c988a55e add coverage report 2017-12-31 01:07:58 +08:00
Huan Du d189ee4da0 add go report link 2017-12-31 00:49:01 +08:00
Huan Du 486abf723c add go report link 2017-12-31 00:47:48 +08:00
Huan Du e680a43c6c simplify the code 2017-12-31 00:46:04 +08:00
Huan Du 86a512f89a update doc 2017-12-31 00:35:51 +08:00
Huan Du d4955d773c update doc 2017-12-31 00:33:16 +08:00
Huan Du 3d80e20960 update doc and provide more samples 2017-12-31 00:31:19 +08:00
Huan Du 8378d54eaa update doc and examples 2017-12-30 13:38:11 +08:00
Huan Du ae0151fccb implement Struct and add more docs 2017-12-30 04:36:25 +08:00
Huan Du 8751efc7f5 update doc and refactory args.go 2017-12-29 16:53:30 +08:00
Huan Du b3e0e1cbdb fix typo in doc 2017-12-29 01:07:08 +08:00
Huan Du 49ae34e062 fix typo in doc 2017-12-29 01:02:41 +08:00
Huan Du 69b77454a6 implement Build, List and Named to enable customization 2017-12-29 00:50:57 +08:00
Huan Du f07cafe24d avoid use map in Args#Compile to stabilize output 2017-12-28 19:34:54 +08:00
Huan Du b475234df4 add doc and freestyle builder 2017-12-28 19:26:00 +08:00
Huan Du 59e26deed3 provide Flatten; support sql.NamedArg 2017-12-28 18:26:21 +08:00
Huan Du a0608c5ab9 support Builder. 2017-12-28 12:56:17 +08:00
Huan Du 40f9bb99c7 support nested sql 2017-12-28 12:19:50 +08:00
Huan Du 00f14682ac more tests 2017-12-28 01:56:56 +08:00
Huan Du e121c6d3dd more tests 2017-12-28 01:56:44 +08:00
Huan Du be8a7cbb32 support DISTINCT 2017-12-28 01:39:42 +08:00
Huan Du d6f157e3a4 remove useless comments 2017-12-28 01:34:45 +08:00
Huan Du 8193c41814 add tests and doc 2017-12-28 01:33:30 +08:00
Huan Du 00e9158475 add E and NE alias 2017-12-28 00:44:59 +08:00
Huan Du 2f7b2c59bb init 2017-12-28 00:37:13 +08:00