1 USING: accessors constructors kernel strings uuid ;
8 TUPLE: oid { a initial: 0 } { b initial: 0 } ;
10 TUPLE: objref ns objid ;
12 CONSTRUCTOR: objref ( ns objid -- objref ) ;
14 TUPLE: mdbregexp { regexp string } { options string } ;
16 : <mdbregexp> ( string -- mdbregexp )
17 [ mdbregexp new ] dip >>regexp ;
20 CONSTANT: MDB_OID_FIELD "_id"
21 CONSTANT: MDB_META_FIELD "_mfd"
25 CONSTANT: T_Integer 16
31 CONSTANT: T_Undefined 6
38 CONSTANT: T_ScopedCode 17
40 CONSTANT: T_JSTypeMax 16
41 CONSTANT: T_MaxKey 127
43 CONSTANT: T_Binary_Function 1
44 CONSTANT: T_Binary_Bytes 2
45 CONSTANT: T_Binary_UUID 3
46 CONSTANT: T_Binary_MD5 5
47 CONSTANT: T_Binary_Custom 128