generated from tpl/purs
chore: prepare v2.0.0
This commit is contained in:
parent
11c1645173
commit
8c77779406
90
README.md
90
README.md
@ -259,59 +259,59 @@ the api of [`node-postgres`]:
|
||||
- release clients with [`Pool.release`] or [`Pool.destroy`]
|
||||
- release with [`Pool.end`]
|
||||
|
||||
[`Pool`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#t:Pool
|
||||
[`Config`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#t:Config
|
||||
[`Pool.make`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:make
|
||||
[`Pool.end`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:end
|
||||
[`Pool.connect`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:connect
|
||||
[`Pool.destroy`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:destroy
|
||||
[`Pool.release`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:release
|
||||
[`Pool`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#t:Pool
|
||||
[`Config`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#t:Config
|
||||
[`Pool.make`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:make
|
||||
[`Pool.end`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:end
|
||||
[`Pool.connect`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:connect
|
||||
[`Pool.destroy`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:destroy
|
||||
[`Pool.release`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:release
|
||||
|
||||
[`Client`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#t:Client
|
||||
[`Client.end`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:end
|
||||
[`Client.make`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:make
|
||||
[`Client.connected`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:connected
|
||||
[`Client.query`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:query
|
||||
[`Client.queryRaw`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:queryRaw
|
||||
[`Client.exec`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:exec
|
||||
[`Client`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#t:Client
|
||||
[`Client.end`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:end
|
||||
[`Client.make`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:make
|
||||
[`Client.connected`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:connected
|
||||
[`Client.query`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:query
|
||||
[`Client.queryRaw`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:queryRaw
|
||||
[`Client.exec`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:exec
|
||||
|
||||
[`Range`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#t:Range
|
||||
[`Range.gt`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:gt
|
||||
[`Range.gte`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:gte
|
||||
[`Range.lt`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:lt
|
||||
[`Range.lte`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:lte
|
||||
[`Range`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#t:Range
|
||||
[`Range.gt`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:gt
|
||||
[`Range.gte`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:gte
|
||||
[`Range.lt`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:lt
|
||||
[`Range.lte`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:lte
|
||||
|
||||
[`Raw`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Raw#t:Raw
|
||||
[`Null`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Raw#t:Null
|
||||
[`Raw`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Raw#t:Raw
|
||||
[`Null`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Raw#t:Null
|
||||
|
||||
[`Serialize`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#t:Serialize
|
||||
[`Deserialize`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#t:Deserialize
|
||||
[`Rep`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#t:Rep
|
||||
[`modifyPgTypes`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#v:modifyPgTypes
|
||||
[`Serialize`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#t:Serialize
|
||||
[`Deserialize`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#t:Deserialize
|
||||
[`Rep`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#t:Rep
|
||||
[`modifyPgTypes`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#v:modifyPgTypes
|
||||
|
||||
[`Result`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Result#t:Result
|
||||
[`FromRow`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Result#t:FromRow
|
||||
[`FromRows`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Result#t:FromRows
|
||||
[`Result`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Result#t:Result
|
||||
[`FromRow`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Result#t:FromRow
|
||||
[`FromRows`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Result#t:FromRows
|
||||
|
||||
[`Query`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query#t:Query
|
||||
[`AsQuery`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query#t:AsQuery
|
||||
[`Query`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query#t:Query
|
||||
[`AsQuery`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query#t:AsQuery
|
||||
|
||||
[`Query.Builder`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query.Builder#t:Builder
|
||||
[`Query.Builder.param`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query.Builder#v:param
|
||||
[`Query.Builder.build`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query.Builder#v:build
|
||||
[`Query.Builder`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query.Builder#t:Builder
|
||||
[`Query.Builder.param`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query.Builder#v:param
|
||||
[`Query.Builder.build`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query.Builder#v:build
|
||||
|
||||
[`MonadCursor`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:MonadCursor
|
||||
[`MonadSession`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:MonadSession
|
||||
[`CursorT`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:CursorT
|
||||
[`SessionT`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:SessionT
|
||||
[`PostgresT`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:PostgresT
|
||||
[`cursor`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:cursor
|
||||
[`session`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:session
|
||||
[`transaction`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:transaction
|
||||
[`runPostgres`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:runPostgres
|
||||
[`query`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:query
|
||||
[`exec`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:exec
|
||||
[`exec_`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:exec_
|
||||
[`MonadCursor`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:MonadCursor
|
||||
[`MonadSession`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:MonadSession
|
||||
[`CursorT`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:CursorT
|
||||
[`SessionT`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:SessionT
|
||||
[`PostgresT`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:PostgresT
|
||||
[`cursor`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:cursor
|
||||
[`session`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:session
|
||||
[`transaction`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:transaction
|
||||
[`runPostgres`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:runPostgres
|
||||
[`query`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:query
|
||||
[`exec`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:exec
|
||||
[`exec_`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:exec_
|
||||
|
||||
[`node-postgres`]: https://node-postgres.com/
|
||||
[`pg-types`]: https://github.com/brianc/node-pg-types/
|
||||
|
@ -15,13 +15,13 @@ workspace:
|
||||
- foldable-traversable: ">=6.0.0 <7.0.0"
|
||||
- foreign: ">=7.0.0 <8.0.0"
|
||||
- fork: ">=6.0.0 <7.0.0"
|
||||
- functors
|
||||
- functors: ">=5.0.0 <6.0.0"
|
||||
- integers: ">=6.0.0 <7.0.0"
|
||||
- js-bigints: ">=2.2.1 <3.0.0"
|
||||
- lists: ">=7.0.0 <8.0.0"
|
||||
- maybe: ">=6.0.0 <7.0.0"
|
||||
- mmorph: ">=7.0.0 <8.0.0"
|
||||
- monad-control
|
||||
- monad-control: ">=5.0.0 <6.0.0"
|
||||
- newtype: ">=5.0.0 <6.0.0"
|
||||
- node-buffer: ">=9.0.0 <10.0.0"
|
||||
- node-event-emitter: ">=3.0.0 <4.0.0"
|
||||
@ -35,7 +35,7 @@ workspace:
|
||||
- prelude: ">=6.0.1 <7.0.0"
|
||||
- profunctor: ">=6.0.1 <7.0.0"
|
||||
- record: ">=4.0.0 <5.0.0"
|
||||
- refs
|
||||
- refs: ">=6.0.0 <7.0.0"
|
||||
- simple-json: ">=9.0.0 <10.0.0"
|
||||
- strings: ">=6.0.1 <7.0.0"
|
||||
- tailrec: ">=6.1.0 <7.0.0"
|
||||
|
@ -1,7 +1,7 @@
|
||||
package:
|
||||
name: postgresql
|
||||
publish:
|
||||
version: '1.7.2'
|
||||
version: '2.0.0'
|
||||
license: 'GPL-3.0-or-later'
|
||||
location:
|
||||
githubOwner: 'cakekindel'
|
||||
@ -13,9 +13,6 @@ package:
|
||||
strict: true
|
||||
pedanticPackages: true
|
||||
dependencies:
|
||||
- functors
|
||||
- monad-control
|
||||
- refs
|
||||
- aff: ">=7.1.0 <8.0.0"
|
||||
- aff-promise: ">=4.0.0 <5.0.0"
|
||||
- arrays: ">=7.3.0 <8.0.0"
|
||||
@ -28,11 +25,13 @@ package:
|
||||
- foldable-traversable: ">=6.0.0 <7.0.0"
|
||||
- foreign: ">=7.0.0 <8.0.0"
|
||||
- fork: ">=6.0.0 <7.0.0"
|
||||
- functors: ">=5.0.0 <6.0.0"
|
||||
- integers: ">=6.0.0 <7.0.0"
|
||||
- js-bigints: ">=2.2.1 <3.0.0"
|
||||
- lists: ">=7.0.0 <8.0.0"
|
||||
- maybe: ">=6.0.0 <7.0.0"
|
||||
- mmorph: ">=7.0.0 <8.0.0"
|
||||
- monad-control: ">=5.0.0 <6.0.0"
|
||||
- newtype: ">=5.0.0 <6.0.0"
|
||||
- node-buffer: ">=9.0.0 <10.0.0"
|
||||
- node-event-emitter: ">=3.0.0 <4.0.0"
|
||||
@ -46,6 +45,7 @@ package:
|
||||
- prelude: ">=6.0.1 <7.0.0"
|
||||
- profunctor: ">=6.0.1 <7.0.0"
|
||||
- record: ">=4.0.0 <5.0.0"
|
||||
- refs: ">=6.0.0 <7.0.0"
|
||||
- simple-json: ">=9.0.0 <10.0.0"
|
||||
- strings: ">=6.0.1 <7.0.0"
|
||||
- tailrec: ">=6.1.0 <7.0.0"
|
||||
|
@ -6,7 +6,7 @@ import Control.Monad.Cont (lift)
|
||||
import Data.Maybe (Maybe(..))
|
||||
import Data.Newtype (class Newtype)
|
||||
import Data.Nullable (Nullable, toNullable)
|
||||
import Data.Postgres (class Rep, RepT, serialize, smash)
|
||||
import Data.Postgres (class Rep, RepT, serialize)
|
||||
import Data.Postgres.Raw (Raw)
|
||||
import Data.Tuple.Nested (type (/\), (/\))
|
||||
import Effect (Effect)
|
||||
|
Loading…
Reference in New Issue
Block a user