string|array(array(Token|string)) tokenize(string query)
Tokenizes a query into tokens for later use by a parser.
The query to tokenize.
An array containing the tokens: ({ ({ TOKEN_WORD, "foo" }), ... }) Or, in case of an error, a string with the error message.