14 Commits
Author SHA1 Message Date
Huan Du 8ed4b5374f fix #192 Add new flavor Doris 2025-03-20 19:05:19 +08:00
Huan Du d8cdbb7ceb fix #178: avoid stackoverflow when Cond is misused 2024-11-05 14:24:10 +08:00
Huan Du ca1312d057 add more cases to increase test coverage 2024-04-14 00:02:57 +08:00
Spencer ConnaughtonandGitHub 0f54cd520c Add CQL support (#1)
* Add CQL flavor.

* Add support for CQL argument compilation.

* Adopt substests for interpolation tests.

* Add support for CQL interpolation.

* Add support for CQL blobs.

https://docs.datastax.com/en/cql-oss/3.x/cql/cql_reference/blob_r.html

* Add CQL timestamp interpolation support.

https://docs.datastax.com/en/cql-oss/3.x/cql/cql_reference/timestamp_type_r.html

* Add builder test for CQL.

* Add support for the NOW function.

https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/timeuuid_functions_r.html?hl=now

* Add support for CQL update IF statement.

https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/cqlUpdate.html#Conditionallyupdatingcolumns

* Drop table prefixes for CQL SELECTs.

* Switch to single quoting for CQL queries.

https://docs.datastax.com/en/cql-oss/3.3/cql/cql_reference/escape_char_r.html

* Update documentation.

* Use valid CQL in tests.

* Support CQL LIMIT.
2022-09-08 14:39:35 -04:00
Huan Du 3e007c306f refs #64 add SQLServer flavor 2021-07-25 03:28:33 +08:00
Huan Du 9d74991669 fix #59 support field mapper for Struct 2021-02-21 20:18:09 +08:00
Huan Du 6a3f9222bd update doc and test cases 2019-04-25 18:47:11 +08:00
Huan Du 8969b5e31c refs #19. print normal $ sign in format string if $ syntax is wrong 2019-04-21 22:42:31 +08:00
Huan Du e219582f5a fix #6. support Postgre-flavor markers. 2018-02-04 21:49:42 +08:00
Huan Du e680a43c6c simplify the code 2017-12-31 00:46:04 +08:00
Huan Du ae0151fccb implement Struct and add more docs 2017-12-30 04:36:25 +08:00
Huan Du 69b77454a6 implement Build, List and Named to enable customization 2017-12-29 00:50:57 +08:00
Huan Du 59e26deed3 provide Flatten; support sql.NamedArg 2017-12-28 18:26:21 +08:00
Huan Du 8193c41814 add tests and doc 2017-12-28 01:33:30 +08:00