GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
DBMI Library (base) - range, interval procedures. More...
#include <grass/dbmi.h>
Go to the source code of this file.
Functions | |
void | db_interval_range (int sqltype, int *from, int *to) |
Define range based on SQL data type. More... | |
DBMI Library (base) - range, interval procedures.
(C) 1999-2009, 2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file interval.c.
void db_interval_range | ( | int | sqltype, |
int * | from, | ||
int * | to | ||
) |
Define range based on SQL data type.
sqltype | SQL data type | |
[out] | from | |
[out] | to |
Definition at line 24 of file interval.c.
References DB_DAY, DB_FRACTION, DB_HOUR, DB_MINUTE, DB_MONTH, DB_SECOND, DB_SQL_TYPE_DATE, DB_SQL_TYPE_TIME, and DB_YEAR.
Referenced by db_convert_Cstring_to_value_datetime(), db_convert_value_datetime_into_string(), and db_sqltype_name().