Commit Graph

47 Commits

Author SHA1 Message Date
Danny Robson eb72b2c2c4 query: add stubs for 'bind' types 2024-03-04 11:43:17 +10:00
Danny Robson e8d40f1fab tool/scratch: add `distinct` select test 2024-03-04 11:42:52 +10:00
Danny Robson 43843a9c8b query/select: add stub cte holder 2024-03-04 11:42:18 +10:00
Danny Robson 365628ddd3 query/select: add DISTINCT clauses 2023-08-04 12:39:11 +10:00
Danny Robson 362ad5d563 fixed/types: add forgotten comment table to schema table list 2023-08-04 12:38:37 +10:00
Danny Robson 258642b3af query/insert: add explanatory comments, and annotations 2023-08-04 11:41:44 +10:00
Danny Robson 3e281e7b0f query/update: add more comments and annotations 2023-08-04 11:36:33 +10:00
Danny Robson bb45e408ad query/select: add nodiscard annotations 2023-08-04 11:31:25 +10:00
Danny Robson 4df902892a query/select: add a lot of explanatory comments 2023-08-03 16:18:56 +10:00
Danny Robson 7247fb7b81 util/traits: remove the last of query/util 2023-08-03 16:03:49 +10:00
Danny Robson b230602be4 util: move tuple operations into new header 2023-08-03 15:56:30 +10:00
Danny Robson 45bb0e7cef util: move the quote header into util 2023-08-03 15:53:02 +10:00
Danny Robson 569a9bb890 query/select: remove unused empty_from type 2023-08-03 15:45:17 +10:00
Danny Robson d29473bd2b query/select: remove unused tablename type 2023-08-03 15:44:48 +10:00
Danny Robson e7549c1626 tools: add range-for test for select queries 2023-08-03 15:33:52 +10:00
Danny Robson dc6ec3e3df query/select: compute the from table in complex cases 2023-08-03 15:33:21 +10:00
Danny Robson 0ce39637f0 query/literal: use quoting adapter for strings 2023-08-03 15:32:59 +10:00
Danny Robson d0cc5a4b3b query/binary: account for differences in native and db operators 2023-08-03 15:32:42 +10:00
Danny Robson c047a0d056 quote: add literal quoting adapter 2023-08-03 15:32:21 +10:00
Danny Robson 5a6b2c0457 tools/scratch: add select_t query execution helpers 2023-08-02 14:17:21 +10:00
Danny Robson d23b815993 query/insert: add stubs 2023-08-02 14:00:01 +10:00
Danny Robson 1e549541c5 query/update: formatter methods should be const 2023-08-02 13:59:23 +10:00
Danny Robson 459c169a9e query/types: add database_to_native for i64 and string_view 2023-08-02 13:58:45 +10:00
Danny Robson 8d7add9786 fixed/types: add table_index identifiers
This makes validating typing consistency much easier.
2023-08-02 13:57:31 +10:00
Danny Robson 37f0ad2d5c query/update: add initial UPDATE structures 2023-08-01 14:09:03 +10:00
Danny Robson b36f5cb5db fixed: move column indirect formatter out of query::select 2023-08-01 14:08:22 +10:00
Danny Robson 8bc1b8a85c fixed: move table formatter into fixed schema definitions 2023-08-01 13:39:50 +10:00
Danny Robson 8340afe3c9 query/literal: support non-string literals 2023-08-01 12:52:14 +10:00
Danny Robson bc0eb5d6a7 query: add type categories to assist computing select::result_type 2023-07-31 15:28:55 +10:00
Danny Robson 186224cb81 query: add column and scalar-select binary ops 2023-07-28 14:30:06 +10:00
Danny Robson 8c8524a8ba query: add expression_result and reenable select::result_type 2023-07-28 11:58:16 +10:00
Danny Robson 64397fb388 query: split up "expression.hpp" 2023-07-28 10:32:35 +10:00
Danny Robson 69f4344330 query: add function nodes 2023-07-28 09:54:23 +10:00
Danny Robson c83db1273f query: add literal nodes 2023-07-28 09:54:02 +10:00
Danny Robson 38c7301741 query/expression: actually store the value within label and cast nodes 2023-07-28 09:52:42 +10:00
Danny Robson 1cb5b823e8 query: add label, group_by, and cast 2023-07-27 16:00:23 +10:00
Danny Robson fef6a1e835 query: add types definitions 2023-07-27 15:59:46 +10:00
Danny Robson 4d9399343f query: use fmtlib rather than ostream 2023-07-27 09:41:19 +10:00
Danny Robson 0f0988079e query: move query builder components out of 'scratch' 2023-07-26 16:19:24 +10:00
Danny Robson 45598bb7c8 Update use of fmt to support fmtlib-10 2023-07-21 14:30:00 +10:00
Danny Robson 481e172424 Initial experiments with SQL query builders 2023-07-21 14:29:53 +10:00
Danny Robson 18484dd57b runtime: move runtime types into a directory 2022-06-23 07:09:07 +10:00
Danny Robson 689bc6b60d column: add cpp file
Not for a direct functional use but to test that the header is
standalone.
2022-06-23 07:09:07 +10:00
Danny Robson 84b2d45aaf introspection: add initial postgresql support 2022-06-23 07:09:07 +10:00
Danny Robson 7a63565516 introspection: move information_schema into it's own namespace 2022-06-20 16:52:24 +10:00
Danny Robson 910d39973d tools: split the dump tool into separate units 2022-06-20 10:50:47 +10:00
Danny Robson 2e66ece268 initial import 2022-06-20 09:32:04 +10:00