table_create Users TABLE_HASH_KEY ShortText [[0,0.0,0.0],true] column_create Users age COLUMN_SCALAR UInt8 [[0,0.0,0.0],true] table_create Ages TABLE_PAT_KEY UInt8 [[0,0.0,0.0],true] column_create Ages users_age COLUMN_INDEX Users age [[0,0.0,0.0],true] load --table Users [ {"_key": "Alice", "age": 20}, {"_key": "Bob", "age": 18} ] [[0,0.0,0.0],2] select Ages [ [ 0, 0.0, 0.0 ], [ [ [ 2 ], [ [ "_id", "UInt32" ], [ "_key", "UInt8" ], [ "users_age", "UInt32" ] ], [ 2, 18, 1 ], [ 1, 20, 1 ] ] ] ] select Users --filter 'age == 20' [ [ 0, 0.0, 0.0 ], [ [ [ 1 ], [ [ "_id", "UInt32" ], [ "_key", "ShortText" ], [ "age", "UInt8" ] ], [ 1, "Alice", 20 ] ] ] ] select Users --filter 'age == 0' [[0,0.0,0.0],[[[0],[["_id","UInt32"],["_key","ShortText"],["age","UInt8"]]]]] delete Users --filter 'age == 20' [[0,0.0,0.0],true] select Ages [ [ 0, 0.0, 0.0 ], [ [ [ 2 ], [ [ "_id", "UInt32" ], [ "_key", "UInt8" ], [ "users_age", "UInt32" ] ], [ 2, 18, 1 ], [ 1, 20, 0 ] ] ] ] select Users --filter 'age == 20' [[0,0.0,0.0],[[[0],[["_id","UInt32"],["_key","ShortText"],["age","UInt8"]]]]] select Users --filter 'age == 0' [[0,0.0,0.0],[[[0],[["_id","UInt32"],["_key","ShortText"],["age","UInt8"]]]]]