View Source Electric.Replication.PostgresInterop.Casting (electric v0.9.5)

Summary

Functions

Link to this function

like?(text, pattern, ignore_case? \\ false)

View Source

LIKE function from SQL. Case sensitive by default.

Examples

iex> like?("hello", "hell_")
true

iex> like?("helloo", "hell_")
false

iex> like?("helloo", "%o_")
true

iex> like?("HELLO", "hello")
false

iex> like?("HELLO", "hello", true)
true
Link to this function

parse_timestamp(maybe_timestamp)

View Source
Link to this function

parse_timestamptz(maybe_timestamp)

View Source
Link to this function

values_distinct?(v1, v2, plain_comparison)

View Source
Link to this function

values_not_distinct?(v1, v2, plain_comparison)

View Source