app/plv8

the module implements some plv8 examples

Types

pub type Rec {
  Rec(i: Int, t: String)
}

Constructors

  • Rec(i: Int, t: String)

Functions

pub fn catch_sql_error() -> Nil
pub fn catch_sql_error2() -> String
pub fn fastsum(arr: Array(Int)) -> Int
pub fn plv8_test(
  keys ka: Array(String),
  values va: Array(String),
) -> String
pub fn return_sql() -> Array(Rec)
pub fn scalar_to_record(i: Int, t: String) -> Rec
pub fn set_of_integers() -> Array(Int)
pub fn set_of_records() -> Array(Rec)
Search Document