Skip to content

Commit

Permalink
mattc58 merge of develop, to include support for Transactions for Goo…
Browse files Browse the repository at this point in the history
…se migrations

commit 50ff6b2
Merge: 96ea999 def0f72
Author: Matt Culbreth <matthew@ionicsecurity.com>
Date:   Wed May 21 17:12:50 2014 -0400

    fixed merge issue with mattc58/gorp for transaction support

commit 96ea999
Author: Matt Culbreth <matthew@ionicsecurity.com>
Date:   Wed May 21 17:09:31 2014 -0400

    Changed DbMap and createTables() to be able to support Transactions in addtion to Connections. This is for Goose migration support.

    commit 1e2e414
    Author: Matt Culbreth <matthew@ionicsecurity.com>
    Date:   Fri Apr 11 09:20:37 2014 -0400

        fixed else statement

    commit 4fc09f6
    Author: Matt Culbreth <matthew@ionicsecurity.com>
    Date:   Fri Apr 11 09:18:40 2014 -0400

        changed dropTableImpl to use the transaction if it's there

    commit 25cbcab
    Author: Matt Culbreth <mattculbreth@gmail.com>
    Date:   Fri Apr 11 12:56:10 2014 +0000

        * added Tx to DbMap
        * added logic in createTables() to switch between Tx and DbMap for the Exec

commit def0f72
Author: James Cooper <jamespcooper@gmail.com>
Date:   Mon May 19 07:31:13 2014 -0700

    clean up dialect receiver var name. add QuerySuffix() to SqlServerDialect

commit 325f5a7
Author: James Cooper <jamespcooper@gmail.com>
Date:   Mon May 19 07:30:45 2014 -0700

    ensure that dialect structs comply with interface

commit 096714f
Author: James Cooper <jamespcooper@gmail.com>
Date:   Mon May 19 07:30:05 2014 -0700

    add sql server driver to README

commit ef29a36
Author: James Cooper <jamespcooper@gmail.com>
Date:   Fri May 16 13:22:59 2014 -0700

    readme: add notes about SQL Server and Oracle support

commit 214aeb9
Author: James Cooper <jamespcooper@gmail.com>
Date:   Fri May 16 13:10:19 2014 -0700

    Added docs for DbMap.TableFor

commit 4593fad
Author: Samuel Nelson <valczir.darkvein@gmail.com>
Date:   Fri May 16 13:27:27 2014 -0600

    Export TableMap.Columns and DbMap.TableFor()

commit 728a08e
Author: Alex Guerrieri <klaidliadon@gmail.com>
Date:   Fri May 16 16:51:28 2014 +0200

    Oracle diver develop, new method QuerySuffix() in dialect, better args string

commit d69be84
Author: Pierre <pierre@prinetti.it>
Date:   Fri May 16 10:23:29 2014 +0200

    fix QuoteField for SqlServerDialect

    from blank to dbl-quote

commit 354af19
Author: Pierre Prinetti <pierre@prinetti.it>
Date:   Thu May 15 10:56:09 2014 +0200

    add support for SQL Server

commit 108d32d
Author: Harley Laue <losinggeneration@gmail.com>
Date:   Wed May 7 16:29:35 2014 -0500

    MySQL certainly does have schemas

    * I'd wager it was a copy/paste job from SQLite.
    * http://dev.mysql.com/doc/refman/5.1/en/create-database.html

commit 86bc8f6
Author: Samuel Nelson <valczir.darkvein@gmail.com>
Date:   Thu Apr 17 15:34:29 2014 -0600

    More clarification

commit 059256e
Author: Samuel Nelson <valczir.darkvein@gmail.com>
Date:   Thu Apr 17 15:32:41 2014 -0600

    Minor documentation clarification

commit 2e7bcc3
Author: Samuel Nelson <valczir.darkvein@gmail.com>
Date:   Thu Apr 17 15:31:01 2014 -0600

    Support non-integer autoincrement fields in postgres

commit 9259f03
Author: Mike Thompson <michael.p.thompson@gmail.com>
Date:   Mon Apr 7 16:06:36 2014 -0700

    Update statements to handle Non-incrementing PK's
    The change in this if statement allows for the driver to correctly
    handle non-auto-incrementing primary keys. The check has been changed to
    if it is auto-incrementing or transient.

commit ed5dce5
Author: Mike Thompson <michael.p.thompson@gmail.com>
Date:   Mon Apr 7 15:02:48 2014 -0700

    Initial test to show failure
    This initial test, against this code base, shows that "update" against a
    table, with only one column, where that coumn is the primary key, and is
    not auto-incrementing, will fail.

commit b795354
Author: umisama <umisama@fe2o3.jp>
Date:   Mon Mar 17 19:35:29 2014 +0900

    Add Pre/Post functions to godoc

commit f1c93ef
Author: umisama <umisama@fe2o3.jp>
Date:   Mon Mar 17 19:11:23 2014 +0900

    Modified Pre/Post functions into using interface

commit b5ce3b9
Author: zhengjia <jiazheng@live.com>
Date:   Wed Mar 5 21:38:57 2014 -0600

    Add support for alias column

commit eeb38f7
Author: James Cooper <jamespcooper@gmail.com>
Date:   Wed May 14 13:11:44 2014 -0700

    TestSetUniqueTogether: fix sqlite test expectation (force err string to lower)

commit f296a21
Author: James Cooper <jamespcooper@gmail.com>
Date:   Sun Mar 23 07:53:33 2014 -0700

    go-gorp#150 - modify selectVal() to return sql.ErrNoRows, and modify Select* funcs to ignore this error and continue to return zeroVal (per docs).  This fixes SelectOne() for pointers to primitive values.
  • Loading branch information
Matt Culbreth committed May 21, 2014
1 parent 242be3e commit 0d42979
Show file tree
Hide file tree
Showing 4 changed files with 638 additions and 150 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,15 @@ implemented per database vendor. Dialects are provided for:
Each of these three databases pass the test suite. See `gorp_test.go` for example
DSNs for these three databases.

Support is also provided for:

* Oracle (contributed by @klaidliadon)
* SQL Server (contributed by @qrawl) - use driver: github.com/denisenkom/go-mssqldb

Note that these databases are not covered by CI and I (@coopernurse) have no good way to
test them locally. So please try them and send patches as needed, but expect a bit more
unpredicability.

## Known Issues ##

### SQL placeholder portability ###
Expand Down
Loading

0 comments on commit 0d42979

Please sign in to comment.