Skip to content

Commit 5f6662c

Browse files
committed
support boolean datatype
1 parent 494b3b0 commit 5f6662c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/pegjs/oracle.pegjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,10 @@ oracle_built_in_data_type
20702070
/ long_and_raw_data_type
20712071
/ datetime_data_type
20722072
/ large_object_data_type
2073+
/ boolean_type
2074+
2075+
boolean_type
2076+
= type:(KW_BOOL / KW_BOOLEAN) { return { type }; }
20732077

20742078
// CHARACTER DATATYPE
20752079
character_data_type
@@ -3011,4 +3015,6 @@ KW_JSON = 'json'i !ident_start { return 'json'; }
30113015
KW_DATE = 'date'i !ident_start { return 'date'; }
30123016
KW_TIMESTAMP = 'timestamp'i !ident_start { return 'timestamp'; }
30133017
KW_TIME = 'time'i !ident_start { return 'time'; }
3014-
KW_ZONE = 'zone'i !ident_start { return 'zone'; }
3018+
KW_ZONE = 'zone'i !ident_start { return 'zone'; }
3019+
KW_BOOL = 'bool'i !ident_start { return 'bool'; }
3020+
KW_BOOLEAN = 'boolean'i !ident_start { return 'boolean'; }

0 commit comments

Comments
 (0)