@@ -136,6 +136,12 @@ class RDBVal extends TermBase
136
136
mul : (args ... ) -> new Mul {}, @ , args...
137
137
div : (args ... ) -> new Div {}, @ , args...
138
138
mod : (args ... ) -> new Mod {}, @ , args...
139
+ bitAnd : (args ... ) -> new BitAnd {}, @ , args...
140
+ bitOr : (args ... ) -> new BitOr {}, @ , args...
141
+ bitXor : (args ... ) -> new BitXor {}, @ , args...
142
+ bitNot : (args ... ) -> new BitNot {}, @ , args...
143
+ bitSal : (args ... ) -> new BitSal {}, @ , args...
144
+ bitSar : (args ... ) -> new BitSar {}, @ , args...
139
145
floor : (args ... ) -> new Floor {}, @ , args...
140
146
ceil : (args ... ) -> new Ceil {}, @ , args...
141
147
round : (args ... ) -> new Round {}, @ , args...
@@ -657,6 +663,30 @@ class Mod extends RDBOp
657
663
tt : protoTermType .MOD
658
664
mt : ' mod'
659
665
666
+ class BitAnd extends RDBOp
667
+ tt : protoTermType .BIT_AND
668
+ mt : ' bitAnd'
669
+
670
+ class BitOr extends RDBOp
671
+ tt : protoTermType .BIT_OR
672
+ mt : ' bitOr'
673
+
674
+ class BitXor extends RDBOp
675
+ tt : protoTermType .BIT_XOR
676
+ mt : ' bitXor'
677
+
678
+ class BitNot extends RDBOp
679
+ tt : protoTermType .BIT_NOT
680
+ mt : ' bitNot'
681
+
682
+ class BitSal extends RDBOp
683
+ tt : protoTermType .BIT_SAL
684
+ mt : ' bitSal'
685
+
686
+ class BitSar extends RDBOp
687
+ tt : protoTermType .BIT_SAR
688
+ mt : ' bitSar'
689
+
660
690
class Floor extends RDBOp
661
691
tt : protoTermType .FLOOR
662
692
mt : ' floor'
@@ -1323,6 +1353,12 @@ rethinkdb.sub = (args...) -> new Sub {}, args...
1323
1353
rethinkdb .div = (args ... ) -> new Div {}, args...
1324
1354
rethinkdb .mul = (args ... ) -> new Mul {}, args...
1325
1355
rethinkdb .mod = (args ... ) -> new Mod {}, args...
1356
+ rethinkdb .bitAnd = (args ... ) -> new BitAnd {}, args...
1357
+ rethinkdb .bitOr = (args ... ) -> new BitOr {}, args...
1358
+ rethinkdb .bitXor = (args ... ) -> new BitXor {}, args...
1359
+ rethinkdb .bitNot = (args ... ) -> new BitNot {}, args...
1360
+ rethinkdb .bitSal = (args ... ) -> new BitSal {}, args...
1361
+ rethinkdb .bitSar = (args ... ) -> new BitSar {}, args...
1326
1362
rethinkdb .floor = (args ... ) -> new Floor {}, args...
1327
1363
rethinkdb .ceil = (args ... ) -> new Ceil {}, args...
1328
1364
rethinkdb .round = (args ... ) -> new Round {}, args...
0 commit comments