Scroll to navigation

App::Dochazka::REST::Model::Tempintvl(3pm) User Contributed Perl Documentation App::Dochazka::REST::Model::Tempintvl(3pm)

NAME

App::Dochazka::REST::Model::Tempintvl - tempintvl data model

SYNOPSIS

    use App::Dochazka::REST::Model::Tempintvl;
    ...

DESCRIPTION

A description of the tempinvl data model follows.

Tempintvls in the database

    CREATE TABLE tempintvls (
        int_id  serial PRIMARY KEY,
        tiid    integer NOT NULL,
        intvl   tstzrange NOT NULL
    )

EXPORTS

This module provides the following exports:

METHODS

delete

Attempts to the delete the record (in the tempintvls table) corresponding to the object. Returns a status object.

insert

Instance method. Attempts to INSERT a record. Field values are taken from the object. Returns a status object.

FUNCTIONS

fetch_tempintvls_by_tiid_and_tsrange

Given a DBIx::Connector object, a tiid and a tsrange, return the set (array) of "tempintvl" objects that match the tiid and tsrange.

AUTHOR

Nathan Cutler, "<presnypreklad@gmail.com>"

2024-03-27 perl v5.38.2