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

Innovation. Community. Security.