@@ -51,18 +51,50 @@ export const DriverDefinitionSchema = z.object({
5151 * and what to compute in memory.
5252 */
5353export const DatasourceCapabilities = z . object ( {
54- /** Can execute SQL-like joins natively? */
55- joins : z . boolean ( ) . default ( false ) ,
54+ // ============================================================================
55+ // Transaction & Connection Management
56+ // ============================================================================
57+
5658 /** Can handle ACID transactions? */
5759 transactions : z . boolean ( ) . default ( false ) ,
60+
61+ // ============================================================================
62+ // Query Operations
63+ // ============================================================================
64+
65+ /** Can execute WHERE clause filters natively? */
66+ queryFilters : z . boolean ( ) . default ( false ) ,
67+
68+ /** Can perform aggregation (group by, sum, avg)? */
69+ queryAggregations : z . boolean ( ) . default ( false ) ,
70+
71+ /** Can perform ORDER BY sorting? */
72+ querySorting : z . boolean ( ) . default ( false ) ,
73+
74+ /** Can perform LIMIT/OFFSET pagination? */
75+ queryPagination : z . boolean ( ) . default ( false ) ,
76+
77+ /** Can perform window functions? */
78+ queryWindowFunctions : z . boolean ( ) . default ( false ) ,
79+
80+ /** Can perform subqueries? */
81+ querySubqueries : z . boolean ( ) . default ( false ) ,
82+
83+ /** Can execute SQL-like joins natively? */
84+ joins : z . boolean ( ) . default ( false ) ,
85+
86+ // ============================================================================
87+ // Advanced Features
88+ // ============================================================================
89+
5890 /** Can perform full-text search? */
5991 fullTextSearch : z . boolean ( ) . default ( false ) ,
60- /** Can perform aggregation (group by, sum, avg)? */
61- aggregation : z . boolean ( ) . default ( false ) ,
62- /** Is scheme-less (needs schema inference)? */
63- dynamicSchema : z . boolean ( ) . default ( false ) ,
92+
6493 /** Is read-only? */
6594 readOnly : z . boolean ( ) . default ( false ) ,
95+
96+ /** Is scheme-less (needs schema inference)? */
97+ dynamicSchema : z . boolean ( ) . default ( false ) ,
6698} ) ;
6799
68100/**
0 commit comments