Module
Droplet.Driver.Unsafe
- Package
- purescript-droplet
- Repository
- easafe/purescript-droplet
Unsafe query functions
Re-exports from Droplet.Driver.Internal.Query
#unsafeSingle Source
unsafeSingle :: forall parameters pra projection pro. RowToList parameters pra => ToParameters parameters pra => RowToList projection pro => FromResult pro (Record projection) => Connection -> Maybe Plan -> String -> Record parameters -> Aff (Either PgError (Maybe (Record projection)))
Runs a query that returns zero or one results from a SQL string
#unsafeQuery Source
unsafeQuery :: forall projection pro parameters pra. RowToList projection pro => RowToList parameters pra => ToParameters parameters pra => FromResult pro (Record projection) => Connection -> Maybe Plan -> String -> Record parameters -> Aff (Either PgError (Array (Record projection)))
Returns an array of projection
records from a SQL string
#unsafeExecute Source
unsafeExecute :: forall parameters pra. RowToList parameters pra => ToParameters parameters pra => Connection -> Maybe Plan -> String -> Record parameters -> Aff (Maybe PgError)
Runs a query without results from a SQL string
- Modules
- Droplet.
Driver - Droplet.
Driver. Internal. Migration - Droplet.
Driver. Internal. Pool - Droplet.
Driver. Internal. Query - Droplet.
Driver. Migration - Droplet.
Driver. Unsafe - Droplet.
Language - Droplet.
Language. Internal. Condition - Droplet.
Language. Internal. Definition - Droplet.
Language. Internal. Function - Droplet.
Language. Internal. Syntax - Droplet.
Language. Internal. Token - Droplet.
Language. Internal. Translate