purescript-selda icon indicating copy to clipboard operation
purescript-selda copied to clipboard

A type-safe, high-level SQL library for PureScript

Results 31 purescript-selda issues
Sort by recently updated
recently updated
newest added

is there any plan for supporting MySQL? I read your thesis paper and read most of the source code, I think it should not be hard to add MySQL too....

backend-integration

Prelease branch of the lib is here: https://github.com/rightfold/purescript-postgresql-client/tree/v4.0.0-pre I'm going to work on this on the branch https://github.com/paluh/purescript-selda/tree/postgresql-client-v4.0.0

Copied from [here](https://github.com/Kamirus/purescript-selda/pull/61#issuecomment-879927536): > - I see this as an opportunity to simplify how queries are executed (or any SQL statements) - making the whole process more abstract is one...

I would like to end my query with `ON CONFLICT DO NOTHING`. Could there be a special `insertOnConflict_` function or something?

Right now, the `WriteForeign`/`ReadForeign` and `ToSQLValue`/`FromSQLValue` type classes are used to encode/decode values to/from the underlying database. Could this type-level codec requirement be lessened, so that value-level codecs could be...

...and its dependency as well ;-)

publishing

Hi! I have now converted every sql statement to selda in https://github.com/jim108dev/purescript-payload-realworld-example. For the tests to pass and for the full functionality I need the following issues to be resolved:...

Example part of a query: ```purescript groupBy $ lit "" ``` results in a runtime error. `groupBy` should be used on column values only. Its type is `groupBy ∷ ∀...

bug

In [SQL1992](http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt) we have: ``` SQL defines distinct data types named by the following s: CHARACTER, CHARACTER VARYING, BIT, BIT VARYING, NUMERIC, DECIMAL, INTEGER, SMALLINT, FLOAT, REAL, DOUBLE PRECISION, DATE,...

good first issue
expression-level

I guess everybody who wants to log his or her queries/commands is doing the same, ```purescript logUpdate ∷ forall t s r m. TableToColsWithoutAlias s t r => GetCols r...

good first issue
convenience