add TableInfo to ddb_types (which should be removed)
This commit is contained in:
parent
ca213ea776
commit
614e2338e8
|
@ -1,3 +1,5 @@
|
||||||
|
const encryption = @import("encryption.zig");
|
||||||
|
|
||||||
pub const AttributeTypeDescriptor = enum(u4) {
|
pub const AttributeTypeDescriptor = enum(u4) {
|
||||||
S = 0,
|
S = 0,
|
||||||
N = 1,
|
N = 1,
|
||||||
|
@ -28,3 +30,11 @@ pub const AttributeDefinition = struct {
|
||||||
name: []const u8,
|
name: []const u8,
|
||||||
type: AttributeTypeDescriptor,
|
type: AttributeTypeDescriptor,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub const TableInfo = struct {
|
||||||
|
attribute_definitions: []*const AttributeDefinition,
|
||||||
|
// gsi_list: []const u8, // Not sure how this is used
|
||||||
|
// gsi_description_list: []const u8, // Not sure how this is used
|
||||||
|
// sqlite_index: []const u8, // Not sure how this is used
|
||||||
|
table_key: [encryption.encoded_key_length]u8,
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user