Skip to content

PgInterval

[Source]

A PostgreSQL interval value. Stores three components: microseconds (time part), days, and months. All components can be negative.

class val PgInterval is
  Equatable[PgInterval val] ref

Implements


Constructors

create

[Source]

new val create(
  microseconds': I64 val,
  days': I32 val,
  months': I32 val)
: PgInterval val^

Parameters

  • microseconds': I64 val
  • days': I32 val
  • months': I32 val

Returns


Public fields

let microseconds: I64 val

[Source]


let days: I32 val

[Source]


let months: I32 val

[Source]


Public Functions

eq

[Source]

fun box eq(
  that: PgInterval val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: PgInterval val)
: Bool val

Parameters

Returns


string

[Source]

fun box string()
: String iso^

Returns