package sqlgg

  1. Overview
  2. Docs
type token =
  1. | ZEROFILL
  2. | YEAR_MONTH
  3. | YEAR
  4. | XOR
  5. | WITH
  6. | WHERE
  7. | WHEN
  8. | WEEK
  9. | VIRTUAL
  10. | VIEW
  11. | VARYING
  12. | VALUES
  13. | USING
  14. | UPDATE
  15. | UNSIGNED
  16. | UNIQUE
  17. | UNION
  18. | UNICODE
  19. | UNBOUNDED
  20. | T_UUID
  21. | T_TEXT
  22. | T_INTEGER
  23. | T_FLOAT
  24. | T_DECIMAL
  25. | T_DATETIME
  26. | T_BOOLEAN
  27. | T_BLOB
  28. | TRUE
  29. | TO
  30. | TIMESTAMP
  31. | TIME
  32. | TILDE
  33. | THEN
  34. | TEXT of string
  35. | TEMPORARY
  36. | TABLE
  37. | SUBSTRING
  38. | STORED
  39. | SPATIAL
  40. | SOME
  41. | SHARE
  42. | SET
  43. | SELECT
  44. | SECOND_MICROSECOND
  45. | SECOND
  46. | RPAREN
  47. | ROWS
  48. | ROW
  49. | RETURNS
  50. | RESTRICT
  51. | REPLACE
  52. | RENAME
  53. | REFERENCES
  54. | RCURLY of int
  55. | RANGE
  56. | QUARTER
  57. | PROCEDURE
  58. | PRIMARY
  59. | PRECISION
  60. | PRECEDING
  61. | PLUS
  62. | PARTITION
  63. | PARAM of Sql.param_id
  64. | OVER
  65. | OUT
  66. | ORDER
  67. | OR
  68. | ON
  69. | OFFSET
  70. | OF
  71. | NUM_EQ_OP
  72. | NUM_DIV_OP
  73. | NUM_CMP_OP
  74. | NUM_BIT_SHIFT
  75. | NUM_BIT_OR
  76. | NUM_BIT_AND
  77. | NULL
  78. | NTH_VALUE
  79. | NOWAIT
  80. | NOT_DISTINCT_OP
  81. | NOT
  82. | NO
  83. | NATURAL
  84. | NATIONAL
  85. | MONTH
  86. | MODIFY
  87. | MODE
  88. | MOD
  89. | MINUTE_SECOND
  90. | MINUTE_MICROSECOND
  91. | MINUTE
  92. | MINUS
  93. | MICROSECOND
  94. | LPAREN
  95. | LOCK
  96. | LOCAL
  97. | LIMIT
  98. | LIKE_OP
  99. | LIKE
  100. | LEAD
  101. | LCURLY of int
  102. | LAST_VALUE
  103. | LANGUAGE
  104. | LAG
  105. | KEY
  106. | JOIN_TYPE2
  107. | JOIN_TYPE1
  108. | JOIN
  109. | IS
  110. | INTO
  111. | INTERVAL
  112. | INTERSECT
  113. | INTEGER of int
  114. | INSERT
  115. | INOUT
  116. | INDEX
  117. | IN
  118. | IGNORED
  119. | IF
  120. | IDENT of string
  121. | HOUR_SECOND
  122. | HOUR_MINUTE
  123. | HOUR_MICROSECOND
  124. | HOUR
  125. | HAVING
  126. | GROUP
  127. | GLOBAL
  128. | GENERATED
  129. | FUNCTION
  130. | FULLTEXT
  131. | FROM
  132. | FOREIGN
  133. | FOR
  134. | FOLLOWING
  135. | FLOAT of float
  136. | FIRST_VALUE
  137. | FIRST
  138. | FALSE
  139. | EXISTS
  140. | EXCL
  141. | EXCEPT
  142. | ESCAPE
  143. | EQUAL
  144. | EOF
  145. | ENUM
  146. | END
  147. | ELSE
  148. | DUPLICATE
  149. | DROP
  150. | DOT
  151. | DIV
  152. | DISTINCT
  153. | DESC
  154. | DELETE
  155. | DELAYED
  156. | DEFAULT
  157. | DAY_SECOND
  158. | DAY_MINUTE
  159. | DAY_MICROSECOND
  160. | DAY_HOUR
  161. | DAY
  162. | DATETIME_FUNC
  163. | DATE
  164. | CURRENT
  165. | CROSS
  166. | CREATE
  167. | CONVERT
  168. | CONSTRAINT
  169. | CONFLICT_ALGO
  170. | CONFLICT
  171. | CONCAT_OP
  172. | COMMENT
  173. | COMMA
  174. | COLUMN
  175. | COLLATE
  176. | CHECK
  177. | CHARSET
  178. | CHARACTER
  179. | CHANGE
  180. | CAST
  181. | CASE
  182. | CASCADE
  183. | BY
  184. | BLOB of string
  185. | BINARY
  186. | BETWEEN
  187. | BEGIN
  188. | AUTOINCREMENT
  189. | ASTERISK
  190. | ASCII
  191. | ASC
  192. | AS
  193. | ANY
  194. | AND
  195. | ALWAYS
  196. | ALTER
  197. | ALL
  198. | AFTER
  199. | ADD
  200. | ACTION
exception Error
val input : (Lexing.lexbuf -> token) -> Lexing.lexbuf -> Sql.stmt
OCaml

Innovation. Community. Security.