ParseWithInt parses a sql statement string and returns a list of Statements. The INT token will result in the specified TInt type.
(sql string, nakedIntType *types.T)
| 236 | // ParseWithInt parses a sql statement string and returns a list of |
| 237 | // Statements. The INT token will result in the specified TInt type. |
| 238 | func ParseWithInt(sql string, nakedIntType *types.T) (statements.Statements, error) { |
| 239 | var p Parser |
| 240 | return p.parseWithDepth(1, sql, nakedIntType, discardComments) |
| 241 | } |
| 242 | |
| 243 | // ParseOne parses a sql statement string, ensuring that it contains only a |
| 244 | // single statement, and returns that Statement. ParseOne will always |
no test coverage detected
searching dependent graphs…