Commit Graph

99 Commits

Author SHA1 Message Date
a991b87158 Raw queries compiler and executors in transaction 2025-05-08 00:00:19 +03:00
0f3f32d7f3 Added support of not-raw statements to table and module constructors 2025-05-07 20:09:28 +03:00
c13175445f 'DialectKey' renamed to 'DriverType' and 'DialectResolver' contents moved into corresponding interfaces 2025-05-07 17:31:02 +03:00
5b5ee0e7b7 'RUNTIME_KEY' generic in namespace descriptor 2025-05-07 16:06:46 +03:00
1e8cc55db0 'DebugApi' opt-in with some additional properties and 'RUNTIME_KEY' generic in module descriptor 2025-05-07 15:53:39 +03:00
ac4ff46640 Deep refactoring of handlers and scopes (except transaction-related) 2025-05-06 17:54:16 +03:00
d777d124ab Now a dialect key provides types of constructors instead of scopes in those constructors 2025-04-20 18:07:00 +03:00
472b1c0bcd Removed universal constructor method and its scope, removed query builders, resolver for all variants of raw statements 2025-04-19 15:26:25 +03:00
d00ecc763e Constructors for all 8 types of raw statements 2025-04-17 18:37:58 +03:00
f90fce937a Adapting database types to interop with an underlying driver 2025-04-15 15:09:49 +03:00
4bd4a1813b Updating after fork to sql-skeleton 2025-04-14 13:43:51 +03:00
be1ac99550 Preparing for publishing v0.0 2025-02-23 14:29:34 +03:00
c88ec6d232 Temp tables can be created through a module object 2025-02-23 14:21:41 +03:00
77f32fc5b6 Some error classes 2025-02-23 14:13:05 +03:00
d8804c0efc Strict properties mangling rules for JVM targets 2025-02-23 14:00:58 +03:00
757a8442f2 Executor now accessible from module 2025-02-22 20:47:12 +03:00
020d32cedc Optimization hint on virtual types and rewrote JoinType class structure 2025-02-22 17:30:46 +03:00
36ced5d74d Fixes pack 2 2025-02-22 10:55:52 +03:00
6f00197aa7 Input and Output rows now have property to access uExt 2025-02-22 10:49:16 +03:00
d7877e57bc Fixes pack 1 2025-02-18 14:26:42 +03:00
8961cea200 Fix inserts methods 2025-02-16 10:22:57 +03:00
1c9eca6b5c Added missed fun interface for upgrading table 2025-02-16 00:02:03 +03:00
a13a9858fb Support for SQL 'UNION' operation 2025-02-15 23:19:34 +03:00
e33489bda1 Version of module template moved to constructor 2025-02-13 11:28:58 +03:00
1ce03daf99 User extension for queries marked as 'out' to allow interfaces 2025-02-13 11:27:15 +03:00
306bf7c971 Improved interface for connection entrypoint 2025-02-13 11:26:44 +03:00
7ca7f9878e Normal tables now can be immutable 2025-02-07 17:20:29 +03:00
aec144d37c Allowed queries creating at runtime throw module descriptor 2025-02-07 15:04:47 +03:00
bb25b2be72 Now different module versions can be merged, compiler must check the equivalence of merged modules 2025-02-02 03:02:25 +03:00
5e4e2bdf4a Improvements in module creation interfaces 2025-02-02 02:24:36 +03:00
f6ab93af4c Missed 'transaction' argument in 'RowExpression' 2025-02-01 06:08:50 +03:00
783e6f1029 Renaming property 'userExtension' -> 'uExt' and changing 'sUExt' -> 'src' in recursive queries 2025-02-01 05:23:43 +03:00
d45bdbad0d Fixes in 'Mapper' and 'Reducer' 2025-02-01 05:17:14 +03:00
fba3712662 Restricted 'RowExpression' to only immutable queries 2025-02-01 04:33:45 +03:00
f1368a2feb Allowed subqueries in 'CheckConstraint' and 'ColumnDefaultValue' 2025-02-01 04:32:31 +03:00
af338b5dc1 Unified query construction 2025-02-01 01:04:59 +03:00
13b6fa65d2 Mechanism for reducing rows ('COUNT()', 'SUM()' etc. from SQL) 2025-02-01 00:39:48 +03:00
dd18416f70 Renaming '*Creator' -> '*Constructor' 2025-01-31 22:51:48 +03:00
3673235beb Reference to owner table in 'CheckConstraint' and 'DefaultConstraint' 2025-01-31 20:47:28 +03:00
7a51863dca Removed constraints from 'ForeignRowReference' RT and DT because it doesn't strictly check at compile-time but allows using virtual types 2025-01-31 20:40:10 +03:00
13e9da6aba First try to make 'ForeignRowReference' typesafe 2025-01-31 18:42:21 +03:00
0e2abb5a33 Removed unused dependency to 'kotlinx.datetime' 2025-01-31 07:40:57 +03:00
5927d63f64 Removed useless parameters from creating 'ForeignRowReference', not it is also column 2025-01-31 07:40:20 +03:00
b6c8737f89 Renaming package 2025-01-31 06:24:00 +03:00
beea261325 Join types & improvements in creating queries 2025-01-31 05:55:24 +03:00
5bc1f1dfca Conditions clause was replaced with filters 2025-01-30 22:29:38 +03:00
461f8e0d9c Shortened generics' names in queries and moved tables references from creator's param to scope 2025-01-27 03:44:42 +03:00
51c3e6869f Interface with methods for creating queries 2025-01-27 03:12:00 +03:00
50723c8811 'UPDATE' and 'DELETE' queries with set by-hand rowid 2025-01-27 02:48:15 +03:00
472fbc895f Updated 'CHECK' and 'DEFAULT' constraints to use runtime expressions 2025-01-27 02:14:07 +03:00