Module
Yoga.ScyllaDB.ScyllaDBOm
- Package
- purescript-yoga-scylladb-om
- Repository
- rowtype-yoga/purescript-yoga-scylladb-om
#execute Source
execute :: forall @a r err. ReadForeign a => CQL -> Array Foreign -> Om { scylla :: Client | r } (parseError :: MultipleErrors | err) (Array a)Execute query and parse rows using yoga-json's ReadForeign (DEFAULT) Automatically gets Client from Om context Throws parse errors to the Om exception channel
#executeWithOptions Source
executeWithOptions :: forall @a r err opts opts_. ReadForeign a => Union opts opts_ ExecuteOptionsImpl => CQL -> Array Foreign -> Record opts -> Om { scylla :: Client | r } (parseError :: MultipleErrors | err) (Array a)Execute query with options and parse rows using yoga-json's ReadForeign Automatically gets Client from Om context Throws parse errors to the Om exception channel
#batch Source
batch :: forall @a r err. ReadForeign a => Array BatchQuery -> Om { scylla :: Client | r } (parseError :: MultipleErrors | err) (Array a)#batchWithOptions Source
batchWithOptions :: forall @a r err opts opts_. ReadForeign a => Union opts opts_ BatchOptionsImpl => Array BatchQuery -> Record opts -> Om { scylla :: Client | r } (parseError :: MultipleErrors | err) (Array a)#stream Source
stream :: forall @a r err. ReadForeign a => CQL -> Array Foreign -> Om { scylla :: Client | r } (parseError :: MultipleErrors | err) (Array a)#executePrepared Source
executePrepared :: forall @a r err. ReadForeign a => PreparedStatement -> Array Foreign -> Om { scylla :: Client | r } (parseError :: MultipleErrors | err) (Array a)