66 lines
753 B
C++
66 lines
753 B
C++
#ifndef DIALECT_TOKEN_HPP
|
|
#define DIALECT_TOKEN_HPP
|
|
|
|
#include <cstdint>
|
|
|
|
namespace matador::sql {
|
|
|
|
enum class dialect_token : uint8_t {
|
|
Create = 0,
|
|
Drop,
|
|
Remove,
|
|
Insert,
|
|
Update,
|
|
Select,
|
|
Alter,
|
|
ForeignKey,
|
|
PrimaryKey,
|
|
AddConstraint,
|
|
DropConstraint,
|
|
References,
|
|
Schema,
|
|
Database,
|
|
Table,
|
|
Values,
|
|
InsertValues,
|
|
Columns,
|
|
Column,
|
|
From,
|
|
Join,
|
|
On,
|
|
Into,
|
|
Where,
|
|
WhereClause,
|
|
And,
|
|
Or,
|
|
Not,
|
|
Like,
|
|
Between,
|
|
In,
|
|
OrderBy,
|
|
GroupBy,
|
|
Asc,
|
|
Desc,
|
|
Limit,
|
|
As,
|
|
Offset,
|
|
Distinct,
|
|
Set,
|
|
UpdateValues,
|
|
NotNull,
|
|
Begin,
|
|
Commit,
|
|
Rollback,
|
|
StartQuote,
|
|
EndQuote,
|
|
StringQuote,
|
|
BeginBinaryData,
|
|
EndBinaryData,
|
|
BeginStringData,
|
|
EndStringData,
|
|
None
|
|
};
|
|
}
|
|
|
|
#endif //DIALECT_TOKEN_HPP
|