packages feed

persistent-sqlite 2.5.0.2 → 2.6

raw patch · 3 files changed

+11/−2 lines, 3 filesdep ~persistent

Dependency ranges changed: persistent

Files

ChangeLog.md view
@@ -1,3 +1,11 @@+## 2.6++Compatibility for backend-specific upsert functionality.+A lucky contributor could try to add upsert to the sqlite backend now.+It would definitely be tricky though because sqlite does not really have this+feature.+http://stackoverflow.com/questions/418898/sqlite-upsert-not-insert-or-replace/4330694#4330694+ ## 2.5.0.2  * Fix lstat workaround for https://ghc.haskell.org/trac/ghc/ticket/7072 on Mac OS X [#564](https://github.com/yesodweb/persistent/pull/564)
Database/Persist/Sqlite.hs view
@@ -109,6 +109,7 @@         { connPrepare = prepare' conn         , connStmtMap = smap         , connInsertSql = insertSql'+        , connUpsertSql = Nothing         , connInsertManySql = Nothing         , connClose = Sqlite.close conn         , connMigrateSql = migrate'
persistent-sqlite.cabal view
@@ -1,5 +1,5 @@ name:            persistent-sqlite-version:         2.5.0.2+version:         2.6 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -25,7 +25,7 @@     build-depends:   base                    >= 4.6         && < 5                    , bytestring              >= 0.9.1                    , transformers            >= 0.2.1-                   , persistent              >= 2.5         && < 3+                   , persistent              >= 2.6         && < 3                    , monad-control           >= 0.2                    , containers              >= 0.2                    , text                    >= 0.7