Commit Graph

36 Commits

Author SHA1 Message Date
deepoli 3411425d65
fix return value and delete unused default (#3280) 2020-08-18 19:03:09 +08:00
Jinzhu b5de8aeb42 Fix overrite SELECT clause 2020-08-18 18:58:53 +08:00
Jinzhu 90183fadde Allow advanced table with args 2020-07-19 21:30:24 +08:00
Jinzhu de764d9e3d Replace FullTable with TableExpr 2020-07-17 21:19:21 +08:00
Jinzhu 362779575c Fix Select with specific symbol, close #3157 2020-07-17 11:24:24 +08:00
Jinzhu 4456df7a5d Lint with golangci-lint 2020-07-16 11:27:12 +08:00
Jinzhu d4b462a351 Fix alias keyword with Table, close #3104 2020-07-10 21:11:28 +08:00
Jinzhu bba569af2b Add NamedArg support 2020-07-10 12:28:24 +08:00
Jinzhu 4e066c9590 Test Or 2020-07-05 12:23:45 +08:00
Jinzhu ee1f46e3a1 Allow to use sql function in Group, Pluck 2020-06-30 23:06:48 +08:00
Jinzhu 56bdded0f8 Fix statement modifier support 2020-06-14 12:18:46 +08:00
Douglas Danger Manley 13f96f7a15
Spelling fix for "condtion" -> "condition" (#3042)
This fixes a spelling error in the word "condition"; in particular,
the `BuildCondtion` function should be named `BuildCondition`.
2020-06-08 11:38:51 +08:00
Jinzhu eda2f023b0 Add Distinct support 2020-06-05 19:19:12 +08:00
Jinzhu e986371a42 Rename package name 2020-06-02 09:18:01 +08:00
Jinzhu dffc2713f0 Add mores tests for query 2020-06-01 10:54:32 +08:00
Jinzhu 55074213bc Add SoftDelete support 2020-05-29 07:35:45 +08:00
Jinzhu ac8708b500 Add FirstOrInit support 2020-05-28 13:12:56 +08:00
Jinzhu 50aa9be4f1 Add joins support 2020-04-15 09:45:43 +08:00
Jinzhu af080e6773 Fix primary key tag 2020-03-12 08:39:42 +08:00
Jinzhu 9e8a4db36b Use *gorm.DB to replace gorm.DB 2020-03-10 08:39:33 +08:00
Jinzhu 3aa1891068 Add sync pool 2020-03-09 15:32:55 +08:00
Jinzhu a145d7e019 Refactor structure 2020-03-09 14:25:50 +08:00
Jinzhu 5fce17543a Add Joins 2020-03-08 19:12:33 +08:00
Jinzhu a158d1ada0 Add GroupBy test 2020-03-08 18:05:22 +08:00
Jinzhu 0c34123796 Add Limit, Offset 2020-03-04 23:56:42 +08:00
Jinzhu 6d58b62fd4 Add sqlite migration tests 2020-02-22 20:57:29 +08:00
Jinzhu 215f5e7765 Add Raw, Row, Rows 2020-02-22 19:41:01 +08:00
Jinzhu 15ce5b3cdd Add create value converter 2020-02-20 10:12:10 +08:00
Jinzhu 98ad29f2c2 Add Selects, Omits for statement 2020-02-16 13:45:27 +08:00
Jinzhu 1f38ec4410 Finish clauses tests 2020-02-08 23:23:45 +08:00
Jinzhu 0160bab7dc Add clause tests 2020-02-05 18:28:58 +08:00
Jinzhu 46b1c85f88 Add more clauses 2020-02-04 08:56:15 +08:00
Jinzhu d52ee0aa44 Work on create callbacks 2020-02-03 10:40:03 +08:00
Jinzhu 9d5b9834d9 Refactor builder 2020-01-30 19:47:00 +08:00
Jinzhu 85bfd175c6 Implement build conditions 2020-01-30 03:03:06 +08:00
Jinzhu b9cce2be6a Add clause, DB API, model definition 2020-01-29 19:22:44 +08:00