Skip to content

Commit

Permalink
docstrings for some SqlType variants
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Aug 5, 2020
1 parent 6af05a5 commit 591b8c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ pub enum SqlDataType {
Smallint = 5,
Float = 6,
Real = 7,
/// Signed, approximate, numeric value with a binary precision 53 (zero or absolute value
/// 10[-308] to 10[308]).
Double = 8,
Datetime = 9,
Varchar = 12,
Expand All @@ -134,6 +136,8 @@ pub enum SqlDataType {
// one-parameter shortcuts for date/time data types
Date = 91,
Time = 92,
/// Year, month, day, hour, minute, and second fields, with valid values as defined for the DATE
/// and TIME data types.
Timestamp = 93,
#[cfg(feature = "odbc_version_4")]
TimeWithTimezone = 94,
Expand Down

0 comments on commit 591b8c2

Please sign in to comment.