Module
Yoga.ScyllaDB.ScyllaDB
- Package
- purescript-yoga-scylladb
- Repository
- rowtype-yoga/purescript-yoga-scylladb
#ContactPoint Source
#Datacenter Source
#ReplicationFactor Source
#ClientOptionsImpl Source
type ClientOptionsImpl :: Row Typetype ClientOptionsImpl = (contactPoints :: Array ContactPoint, credentials :: { password :: Password, username :: Username }, keyspace :: Keyspace, localDataCenter :: Datacenter, policies :: { loadBalancing :: Foreign, reconnection :: Foreign, retry :: Foreign }, pooling :: { coreConnectionsPerHost :: PoolSize, maxConnectionsPerHost :: PoolSize }, protocolOptions :: { maxSchemaAgreementWaitSeconds :: Int, port :: Int }, queryOptions :: { consistency :: ConsistencyLevel, fetchSize :: Int, prepare :: Boolean }, socketOptions :: { connectTimeout :: Milliseconds, readTimeout :: Milliseconds })
#createClient Source
createClient :: forall opts opts_. Union opts opts_ ClientOptionsImpl => Record opts -> Effect Client#ExecuteOptionsImpl Source
type ExecuteOptionsImpl :: Row Typetype ExecuteOptionsImpl = (consistency :: ConsistencyLevel, fetchSize :: Int, pageState :: String, prepare :: Boolean, timestamp :: Number, traceQuery :: Boolean)
#executeWithOptionsImpl Source
executeWithOptionsImpl :: forall opts. EffectFn4 Client CQL (Array Foreign) (Record opts) (Promise QueryResultImpl)#executeWithOptions Source
executeWithOptions :: forall opts opts_. Union opts opts_ ExecuteOptionsImpl => CQL -> Array Foreign -> Record opts -> Client -> Aff QueryResult#batch Source
batch :: Array BatchQuery -> Client -> Aff QueryResult#BatchOptionsImpl Source
type BatchOptionsImpl :: Row Typetype BatchOptionsImpl = (consistency :: ConsistencyLevel, counter :: Boolean, logged :: Boolean, timestamp :: Number)
#batchWithOptionsImpl Source
batchWithOptionsImpl :: forall opts. EffectFn3 Client (Array BatchQuery) (Record opts) (Promise QueryResultImpl)#batchWithOptions Source
batchWithOptions :: forall opts opts_. Union opts opts_ BatchOptionsImpl => Array BatchQuery -> Record opts -> Client -> Aff QueryResult#PreparedStatement Source
data PreparedStatement#executePrepared Source
executePrepared :: PreparedStatement -> Array Foreign -> Client -> Aff QueryResult#ToCQLValue Source
#createKeyspace Source
createKeyspace :: Keyspace -> ReplicationFactor -> Client -> Aff QueryResult#dropKeyspace Source
dropKeyspace :: Keyspace -> Client -> Aff QueryResult#useKeyspace Source
useKeyspace :: Keyspace -> Client -> Aff QueryResult