reldb 0.1.0
Recreational SQLite
Loading...
Searching...
No Matches
statement.h
Go to the documentation of this file.
1
5
6#ifndef STATEMENT_H
7#define STATEMENT_H
8
10typedef enum {
11 META_CMD_SUCCESS,
12 META_COMMAND_UNRECOGNISED_CMD
14
16typedef enum {
17 PREPARE_SUCCESS,
18 PREPARE_UNRECOGNIZED_STATEMENT
20
22typedef enum {
23 STATEMENT_INSERT,
24 STATEMENT_SELECT
26
31typedef struct {
32 StatementType type;
33} Statement;
34
35#endif // STATEMENT_H
PrepareRes
Result codes for the SQL statement compiler.
Definition statement.h:16
StatementType
Represents the type of SQL statement to be executed.
Definition statement.h:22
MetaCmdRes
Result codes for meta-command execution.
Definition statement.h:10
A parsed SQL statement ready for execution by the VM.
Definition statement.h:31