luckyframework/avram

Add `Time::Span` for `interval` column

Open

#841 opened on May 10, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Crystal (67 forks)auto 404
hacktoberfest

Repository metrics

Stars
 (180 stars)
PR merge metrics
 (PR metrics pending)

Description

in postgres, you can do this

# select interval '1 hour';
 interval 
----------
 01:00:00
(1 row)

and in Crystal 1.hour gives you 01:00:00.

Contributor guide