Commit Graph

  • 0071d374f8 update auto migrate inkbx 2017-10-25 20:02:14 +08:00
  • a632dd34b6 替换时间戳 William 2017-10-25 12:55:17 +08:00
  • ede35514a4 fixed wrong param substitution order andrew 2017-10-23 10:50:44 +08:00
  • 514a9d84c3 add port in PostgreSQL connection example PapEr 2017-10-22 04:06:25 -05:00
  • d433743787 Merge aa7b10be2907bb37995bf74fae0fd79a1236a3aa into 0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e abdesselemaymen 2017-10-20 09:37:21 +00:00
  • aa7b10be29 change update callback func name Aymen 2017-10-20 10:30:26 +01:00
  • 5e639f25c3 Add handling for empty Jsonb to fix #1649 daisy1754 2017-10-19 22:42:41 -07:00
  • f895ac4fc3 corresponds timestamp precision for mysql miyauchi 2017-10-20 10:24:09 +09:00
  • 263ef914f1 build pages Jinzhu 2017-10-18 18:41:37 +08:00
  • b50377d9be Add example for SubQuery Jinzhu 2017-10-18 18:41:08 +08:00
  • ac089db161 Refactor GORM Config Jinzhu 2017-10-15 11:16:24 +08:00
  • 64cfa2d425 Update database.md (#1639) Nafis Faysal 2017-10-15 09:04:17 +06:00
  • 134f6990f0 Add new tag "not_auto_increment" to set a column can auto increase or not Wing Gao 2017-10-13 15:08:55 +08:00
  • 44a8c658b1 Update database.md Nafis Faysal 2017-10-11 09:49:00 +06:00
  • c8fb480e6b Formatting code with gomt joe-at-startupmedia 2017-10-10 18:20:56 +00:00
  • 293d60cdd2 Update Logger Jinzhu 2017-10-10 23:10:30 +08:00
  • 78955ecd2d Add Logger Jinzhu 2017-10-10 22:46:45 +08:00
  • 1b4c056900 Add GORM Config Jinzhu 2017-10-10 22:46:41 +08:00
  • f2de234049 Merge 7b743bdd2b360de71ea311ec1c20f39996f4be4e into 0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e Samuel Gavinio 2017-10-10 13:29:05 +00:00
  • 5dcb4cbb9e Merge 182e411a640d090b37c1797250d912c7a5b19451 into 0a51f6cdc55d1650d9ed3b4c13026cfa9133b01e Antoine Pelisse 2017-10-10 13:28:58 +00:00
  • 0a51f6cdc5 add JSONB type (#1626) Aetheus 2017-10-10 21:28:39 +08:00
  • 9c9de89686 Use log.PrintX instead of fmt.PrintX (#1634) Konrad Kleine 2017-10-10 15:04:23 +02:00
  • 0583e051a4 fix doc pluck (#1) (#1638) 王瑞华 2017-10-10 21:01:01 +08:00
  • 60f2df344c fix doc pluck (#1) 王瑞华 2017-10-10 17:46:24 +08:00
  • 5ac3979baa Use log.PrintX instead of fmt.PrintX Konrad Kleine 2017-10-06 12:46:24 +02:00
  • 11346ae066 Allows foreign keys to be saved without saving the assoication when specified #1628 joe-at-startupmedia 2017-10-04 08:19:16 +00:00
  • 992cca09f3 fixed issue with null values in where conditions Viktor Nikolaiev 2017-10-03 17:17:39 +03:00
  • 81267b9903 add comments to satisfy gofmt Adrian 2017-10-01 01:40:19 +08:00
  • 09a0c5f1bb add JSONB type Adrian 2017-10-01 01:24:51 +08:00
  • c80b78b22d Call Query callback chain when preloading many2many Geoff Baskwill 2017-09-22 12:34:16 -04:00
  • 3a9e91ab37 Correct ModifyColumn SQL syntax. (#1614) Horacio Duran 2017-09-28 11:48:21 -03:00
  • 0a21873c6e 1. fix updates with primary key bug bigpigeon 2017-09-24 17:44:07 +08:00
  • fb48d751af 1. add update with primary key member test bigpigeon 2017-09-24 17:23:18 +08:00
  • f7fe3f755d Skip ModifyColumnType test on incompatible DBs Horacio Duran 2017-09-20 10:40:33 -03:00
  • c5d9620984 Test ModifyColumn Jinzhu 2017-09-20 07:29:04 +08:00
  • d2bb51374a Merge 32118f0c4423f929d7538157d9370a5f4a065f18 into b1885a643b4977c9089d77eb07c0fd96591f94b8 Geoff Baskwill 2017-09-18 12:00:10 +00:00
  • 32118f0c44 Add the ability to set the default Logger Geoff Baskwill 2017-09-18 07:38:52 -04:00
  • 6ee3a97751 Correct ModifyColumn SQL syntax. Horacio Duran 2017-09-15 19:07:07 -03:00
  • f624f07129 add tag ForeignColumn and AssociationForeignColumn for because of anonymous have no name of type Zeal 2017-09-05 22:17:19 +08:00
  • c26a35564f Fix for quoted column names and add test matematik7 2017-09-04 18:12:20 +02:00
  • 8ceba8217c Merge 5092ef2980c3f1881f3cdfadec712cbde51da71d into b1885a643b4977c9089d77eb07c0fd96591f94b8 Paul Walker 2017-09-04 14:39:24 +00:00
  • efcb6955ff Merge 160e1c67c3e35ba0ae79ff3c1f8693e815d67ecf into b1885a643b4977c9089d77eb07c0fd96591f94b8 Zhang Sen 2017-09-04 14:39:24 +00:00
  • b1885a643b Support cloudsqlpostgres dialect (#1577) Cedric GESTES 2017-09-04 16:39:19 +02:00
  • c0ac6a7d50 Do not ignore order on distinct query (#1570) Domen Ipavec 2017-09-04 16:35:37 +02:00
  • 6e456250f7 Erros skip nil in Add function (#1566) Teppei Fukuda 2017-09-04 22:25:57 +08:00
  • 981d5db663 Fix postgres dialect UUID sqlType evaluation (#1564) Dhiver 2017-09-04 16:23:42 +02:00
  • 750fd9030a Fix postgres dialect for dbs with multiple schemas (#1558) Lukas Dietrich 2017-09-04 16:22:02 +02:00
  • 910f753910 add type created_at deleted_at update_at lives 2017-08-31 19:09:41 +08:00
  • bec965ce10 fixed golint issues Viktor Nikolaiev 2017-08-31 10:30:48 +03:00
  • 6dcebbdb5e Made it possible to implement driver.Valuer for byte slices Viktor Nikolaiev 2017-08-30 22:52:45 +03:00
  • 56fffcb25b fix count() … Code 2017-08-29 18:50:40 +08:00
  • 160e1c67c3 bugfix for LimitAndOffsetSQL Sen Zhang 2017-08-24 13:56:42 +08:00
  • 21a83bed0b Merge c4ecc70bfc9a73ed708a8eacb461badfc57ee969 into c3bb6aaa828867eec72dd8571d111e442688f85f Zhang Sen 2017-08-24 04:22:47 +00:00
  • c4ecc70bfc bugfix for LimitAndOffsetSQL Sen Zhang 2017-08-24 12:02:32 +08:00
  • 1f624664c2 1. add structField.Offset bigpigeon 2017-08-23 16:37:32 +08:00
  • 35d9fc7a31 fix preload on nil pointer Aymen 2017-08-21 17:12:01 +01:00
  • e17a7bbfdc Support cloudsqlpostgres dialect Cedric GESTES 2017-08-19 00:19:20 +02:00
  • 5092ef2980 include comment for member made public Paul Walker 2017-08-15 14:18:20 -07:00
  • b907a3d902 makes DialectsMap public for easier registration of dialects using existing values refs #1572 Paul Walker 2017-08-15 14:11:46 -07:00
  • 5f381a30c4 Do not ignore order on distinct query matematik7 2017-08-14 20:47:26 +02:00
  • 39a4402472 Do not always override select on pluck matematik7 2017-08-14 20:46:39 +02:00
  • 5de5f9f45a Erros skip nil in Add function knqyf263 2017-08-13 14:28:31 +09:00
  • 56612b0ac8 Fix postgres dialect UUID sqlType evaluation Bastien Dhiver 2017-08-11 23:07:22 +02:00
  • c3bb6aaa82 Fix QueryExpr tests Jinzhu 2017-08-11 23:24:00 +08:00
  • e5432b14d2 Add QueryExpr, thanks @ManReinsp for PR #1548 Jinzhu 2017-08-02 07:41:43 +08:00
  • d61b7db8fa Fix postgres tests Jinzhu 2017-08-11 18:03:32 +08:00
  • 969ab67636 [mssql] Fix save time struct's timezone Jinzhu 2017-08-11 17:18:49 +08:00
  • 3c310a86db Fix postgres dialect for dbs with multiple schemas Lukas Dietrich 2017-08-06 02:32:32 +02:00
  • 8310b11db8 Merge b1634f73588d413bfe3bff1df52fa6f6d81f471e into 6f64b8610da6d5214e9197ed3c1bf8ecf8983c89 Manuel Reinsperger 2017-08-01 23:05:16 +00:00
  • 6f64b8610d Update callback_query_preload.go (#1553) Kyle Spraggs 2017-08-01 18:05:11 -05:00
  • 8a87eec0ed Update callback_query_preload.go Kyle Spraggs 2017-07-31 22:34:09 -05:00
  • 35fb16eeba Don't overwrite existing timestamp when creating Jinzhu 2017-07-31 17:26:36 +08:00
  • b1634f7358 Fixed tests ManReinsp 2017-07-28 11:39:38 +02:00
  • 45370c3332 Refactoring, adding Having Subquery support, allowing db.T for tablenames ManReinsp 2017-07-28 11:05:29 +02:00
  • 84847fdd47 Improved questionmark parameter placeholder replacementw ManReinsp 2017-07-28 08:26:57 +02:00
  • 928f99dbb5 Fixed comment spacing ManReinsp 2017-07-26 14:46:05 +02:00
  • 47ec74e014 Added support for subqueries in Where and Having clauses ManReinsp 2017-07-26 12:36:23 +02:00
  • de4d189fb7 支持对直接声明的结构体指针反射填充数据 icoder528 2017-07-26 15:58:13 +08:00
  • 5b8c0dd6b9 Changed the type of uint32 from integer to bigint in postgres (#1536) Ivan Valkov 2017-07-23 09:05:43 +01:00
  • 10e217e2bc Print affected rows (#1541) liu-xuewen 2017-07-23 16:04:22 +08:00
  • 4c2f555b81 add the rows number that the sql result affected or returned liuxuewen 2017-07-21 12:04:21 +08:00
  • b053329af4 fix better liuxuewen 2017-07-21 10:48:20 +08:00
  • a0e1d5b8c8 Changed the type of uint32 from integer to bigint in postgres Ivan Valkov 2017-07-14 12:04:01 +01:00
  • 2a1463811e Allow use number as column name (#1517) Ivan Valkov 2017-07-03 14:49:54 +01:00
  • fa2095429b Update scope.go Ivan Valkov 2017-07-03 10:05:01 +01:00
  • c05d72c879 Updated the columnRegexp to include decimals Ivan Valkov 2017-07-03 09:59:10 +01:00
  • d510c7e4b8 mysql only accept offset with limit together Jinzhu 2017-07-03 11:58:01 +08:00
  • d395b35025 mysql only accept offset with limit together Jinzhu 2017-07-03 11:26:31 +08:00
  • b16674c0f5 Updated scope.go to always quote when adding index Ivan Valkov 2017-06-30 16:09:31 +01:00
  • eae7f6be60 Fix source type is incorrect error for embedded many to many relationship Jinzhu 2017-06-14 16:49:39 +08:00
  • a659f3442b Link to SQL Server Go Tutorials Jinzhu 2017-06-11 20:45:05 +08:00
  • 18084562b0 Merge 3836f5441e06feecdf759c74c65e8c333843bf6b into 28cf259651f11bad122a2aef11f12bb1763224c2 Andy Ruland 2017-05-30 05:22:23 +00:00
  • b76bdceea6 Merge f57d7f2d9ba42c25a963de34496c0513664b9ab9 into 9acaa33324bbcc78239a1c913d4f1292c12177b9 Vladislav Fursov 2017-05-27 20:05:10 +00:00
  • 819ea05120 Merge 50786316821e0e9b57b4e5bd02c6d839f4309f76 into 9acaa33324bbcc78239a1c913d4f1292c12177b9 JW 2017-05-27 20:05:10 +00:00
  • 70df6760e9 Merge a8cecf2b8edcce50649a52af7a63338264e64427 into 9acaa33324bbcc78239a1c913d4f1292c12177b9 Thomas Boerger 2017-05-27 20:05:10 +00:00
  • 36a740856e Merge 5198c7da723821375f726acaeffe251810b88a30 into 28cf259651f11bad122a2aef11f12bb1763224c2 Grégoire Molveau 2017-05-18 03:47:39 +00:00
  • 28cf259651 Merge pull request #1477 from semihtok/patch-1 Jinzhu 2017-05-18 10:23:32 +08:00
  • c6dce8c1e3 Merge 8d6b599b54e715a737297d33af09dcbbb9b76f20 into 9acaa33324bbcc78239a1c913d4f1292c12177b9 Daniel Ribeiro 2017-05-16 09:08:11 +00:00
  • 8d6b599b54 Added tag handlers for custom DB field names drgomesp 2017-01-16 18:07:38 +04:00
  • d453161737 Typo fix in "advanced" document Semih Tok 2017-05-16 10:22:01 +03:00