wecisecode vor 1 Woche
Ursprung
Commit
faa407afb3

+ 1 - 1
odbctest/mql/basic/49mix/0100class.mql

@@ -48,7 +48,7 @@ create class if not exists /mix/mtz (
     
     indexes(zvarchar, zint, zbigint, zdouble, ztext, zmap, zlist, zset),
     keys(zvarchar)
-) with nickname='mtz'
+) with nickname='mtz', core=memory
 ;
 
 create edge type  if not exists mix.mtx_mtz "xz"

+ 32 - 0
odbctest/mql/basic/49mix/0151bucket.mql

@@ -0,0 +1,32 @@
+
+
+select * from /mix/mtx where xprom is null
+/**
+output()
+onerror(continue,"has't index")
+**/
+;
+
+select * from /mix/mtz where zprom is null
+/**
+output()
+onerror(continue,"has't index")
+**/
+;
+
+
+select id,xprom.time('2025-01-02','2025-01-04').find(name='mtx').count() from /mix/mtx
+where id="mtx:x5" and xprom.time('2025-01-02','2025-01-04').find(name='mtx').count().assert($1=96)
+/**
+output()
+match("id","mtx:x5","xprom.0.2",96)
+**/
+;
+
+select id,zprom.time('2025-01-02','2025-01-04').find(name='mtz').count() from /mix/mtz
+where id="mtz:z5" and zprom.time('2025-01-02','2025-01-04').find(name='mtz').count().assert($1=96)
+/**
+output()
+match("id","mtz:z5","zprom.0.2",96)
+**/
+;

+ 1 - 0
odbctest/mql/basic/49mix/0190subquery3.mql

@@ -8,4 +8,4 @@
 -- output()
 -- match("xprom.0.2",240.24,"zprom.0.3",143.143,"zprom.0.6",48.48,"zprom.0.9",95.95381249999996~95.9538125,"zprom.0.12",9211.565999999995~9211.566,"zprom.0.15",96)
 -- **/
+-- ;