like, i know we can do this: ```const table = new ...
# help
e
like, i know we can do this:
Copy code
const table = new sst.Table(this, "Counter", {
      fields: {
        counter: sst.TableFieldType.STRING,
      },
      primaryIndex: { partitionKey: "counter" },
    });
but that is just one field in a table, what if a field contains another object? only options i get are string, number or binary.
f
Hey Ernie, You don’t need to define all fields when u create the table. Only the fields used in ur indexes.