Commit Graph

6 Commits

Author SHA1 Message Date
Jinzhu b46ca62c18 Fix ReturningStr when with schema name, fixes #650 2015-09-11 06:36:17 +08:00
Jay Taylor 526fff01b7 Merge branch 'jay/current_database' into jay/ddl-errors 2015-08-11 09:05:53 -07:00
Jay Taylor beeb040c62 Reworked CurrentDatabase API to return the name instead of `*gorm.DB'. 2015-08-11 08:59:59 -07:00
Jay Taylor da31f58607 Ensure DDL dialect queries propagate error states to descendent scopes.
Includes relevant unit-test.

Branched from jay/current_database (please merge that branch first!).
2015-08-08 14:25:15 -07:00
Jay Taylor 70725f9d77 `CurrentDatabase' determines current dbname by querying the database.
Preserves the gorm-style query API.
2015-08-08 08:56:23 -07:00
Jay Taylor dcc06e22f7 FoundationDB dialect layer and compatibility updates. 2015-03-24 10:35:19 -07:00