Module

Yoga.SQLite.SQLite

Package
purescript-yoga-sqlite
Repository
rowtype-yoga/purescript-yoga-sqlite

#Connection Source

#Transaction Source

#SQLiteValue Source

#SQL Source

newtype SQL

Constructors

Instances

#param Source

param :: forall a. ToSQLiteValue a => a -> Array SQLiteValue

#params Source

params :: forall a. ToSQLiteValue a => Array a -> Array SQLiteValue

#Row Source

type Row = Foreign

#QueryResult Source

type QueryResult = { columnTypes :: Array String, columns :: Array String, lastInsertRowid :: Maybe BigInt, rows :: Array Row, rowsAffected :: Int }

#QueryResultImpl Source

type QueryResultImpl = { columnTypes :: Array String, columns :: Array String, lastInsertRowid :: Nullable BigInt, rows :: Array Row, rowsAffected :: Int }

#SQLiteConfigImpl Source

type SQLiteConfigImpl :: Row Typetype SQLiteConfigImpl = (authToken :: String, concurrency :: Int, encryptionKey :: String, intMode :: String, syncInterval :: Number, syncUrl :: String, tls :: Boolean, url :: String)

#createClientImpl Source

#BatchStatement Source

type BatchStatement = { args :: Array SQLiteValue, sql :: String }

#ReplicatedImpl Source

type ReplicatedImpl = { frame_no :: Number, frames_synced :: Number }

#Replicated Source

type Replicated = { frame_no :: Number, frames_synced :: Number }

#dateTimeToStringImpl Source

#f32VectorFromArrayImpl Source

#f32VectorToArrayImpl Source

#f64VectorFromArrayImpl Source

#f64VectorToArrayImpl Source

#sqlite Source

sqlite :: forall opts opts_. Union opts opts_ SQLiteConfigImpl => Record opts -> Effect Connection

#executeSimple Source

#dateTimeToString Source