GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
#include <grass/defs/sqlp.h>
Go to the source code of this file.
Data Structures | |
struct | SQLPVALUE |
struct | sqlpnode |
struct | SQLPSTMT |
Macros | |
#define | SQLP_CREATE 1 |
#define | SQLP_DROP 2 |
#define | SQLP_INSERT 3 |
#define | SQLP_SELECT 4 |
#define | SQLP_UPDATE 5 |
#define | SQLP_DELETE 6 |
#define | SQLP_ADD_COLUMN 7 |
#define | SQLP_DROP_COLUMN 8 |
#define | SQLP_ADD 1 /* + */ |
#define | SQLP_SUBTR 2 /* - */ |
#define | SQLP_MLTP 3 /* * */ |
#define | SQLP_DIV 4 /* / */ |
#define | SQLP_EQ 11 /* = */ |
#define | SQLP_LT 12 /* < */ |
#define | SQLP_LE 13 /* <= */ |
#define | SQLP_GT 14 /* > */ |
#define | SQLP_GE 15 /* >= */ |
#define | SQLP_NE 16 /* <> */ |
#define | SQLP_MTCH 17 /* ~ */ |
#define | SQLP_ISNULL 18 /* IS NULL */ |
#define | SQLP_NOTNULL 19 /* IS NULL */ |
#define | SQLP_AND 21 |
#define | SQLP_OR 22 |
#define | SQLP_NOT 23 |
#define | SQLP_NULL 1 /* value NULL -> unknown type */ |
#define | SQLP_S 2 /* string */ |
#define | SQLP_I 3 /* integer */ |
#define | SQLP_D 4 /* float */ |
#define | SQLP_BOOL 5 /* used only for type of expression */ |
#define | SQLP_EXPR 6 /* expression XXX */ |
#define | SQLP_VARCHAR 1 |
#define | SQLP_INTEGER 2 |
#define | SQLP_DOUBLE 3 |
#define | SQLP_DATE 4 |
#define | SQLP_TIME 5 |
#define | SQLP_MAX_TABLE 200 |
#define | SQLP_MAX_ERR 500 |
#define | SQLP_NODE_COLUMN 1 |
#define | SQLP_NODE_VALUE 2 |
#define | SQLP_NODE_EXPRESSION 3 |
#define | SORT_ASC 1 |
#define | SORT_DESC 2 |
Typedefs | |
typedef struct sqlpnode | SQLPNODE |
Variables | |
SQLPSTMT * | sqlpStmt |
#define SQLP_ADD 1 /* + */ |
Definition at line 20 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_ADD_COLUMN 7 |
Definition at line 15 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_AND 21 |
Definition at line 38 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_CREATE 1 |
Definition at line 9 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_D 4 /* float */ |
Definition at line 46 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_DATE 4 |
Definition at line 54 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_DELETE 6 |
Definition at line 14 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_DIV 4 /* / */ |
Definition at line 23 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_DOUBLE 3 |
Definition at line 53 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_DROP 2 |
Definition at line 10 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_DROP_COLUMN 8 |
Definition at line 16 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_EQ 11 /* = */ |
Definition at line 26 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_EXPR 6 /* expression XXX */ |
Definition at line 48 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_GE 15 /* >= */ |
Definition at line 30 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_GT 14 /* > */ |
Definition at line 29 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_I 3 /* integer */ |
Definition at line 45 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_INSERT 3 |
Definition at line 11 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_INTEGER 2 |
Definition at line 52 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_LE 13 /* <= */ |
Definition at line 28 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_LT 12 /* < */ |
Definition at line 27 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_MAX_TABLE 200 |
Definition at line 57 of file sqlp.h.
Referenced by sqpTable().
#define SQLP_MLTP 3 /* * */ |
Definition at line 22 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_MTCH 17 /* ~ */ |
Definition at line 32 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_NE 16 /* <> */ |
Definition at line 31 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_NODE_COLUMN 1 |
Definition at line 61 of file sqlp.h.
Referenced by sqpNewColumnNode().
#define SQLP_NODE_EXPRESSION 3 |
Definition at line 63 of file sqlp.h.
Referenced by sqpNewExpressionNode().
#define SQLP_NOT 23 |
Definition at line 40 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_NULL 1 /* value NULL -> unknown type */ |
Definition at line 43 of file sqlp.h.
Referenced by sqpInitValue(), and sqpPrintStmt().
#define SQLP_OR 22 |
Definition at line 39 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_S 2 /* string */ |
Definition at line 44 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_SELECT 4 |
Definition at line 12 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_SUBTR 2 /* - */ |
Definition at line 21 of file sqlp.h.
Referenced by sqpOperatorName().
#define SQLP_TIME 5 |
Definition at line 55 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_UPDATE 5 |
Definition at line 13 of file sqlp.h.
Referenced by sqpPrintStmt().
#define SQLP_VARCHAR 1 |
Definition at line 51 of file sqlp.h.
Referenced by sqpPrintStmt().
SQLPSTMT* sqlpStmt |
Definition at line 38 of file sql.c.
Referenced by sqpPrintStmt().