Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An interval datatype for rust's PostgreSQL driver.

License

NotificationsYou must be signed in to change notification settings

psqlpy-python/rust-postgres-interval

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Statuscodecov

Rust-Postgres-Interval

A interval type for the postgres driver.

Contributing

There is a separate document on how to contribute to this repohere

Overview

Rust-Postgres-Interval is dedicated datatype for the postgres interval type.

externcrate pg_interval;use pg_interval::Interval;fnmain(){let interval =Interval::from_postgres("1 years 1 months 1 days 1 hours").unwrap();let output = interval.to_iso_8601();assert_eq!(String::from("P1Y1M1DT1H"), output);}

Requirements

  • rust 1.22

Roadmap to 1.0.0

  • Convert Interval Into Formated String
    • Iso 8601
    • Postgres
    • Sql
  • Parse Formated Strings Into The Interval Type
    • Iso 8601
    • Postgres
    • Sql
  • Chrono Integrations

About

An interval datatype for rust's PostgreSQL driver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust100.0%

[8]ページ先頭

©2009-2025 Movatter.jp