David AlonsoD
Convex Community2y ago
2 replies
David Alonso

Table helper name ambiguity

If I have a Table defined like so:
export const TableViews = Table("tableViews", tableViewsFields).table.index(
  "byCollectionId",
  ["collectionId"]
);
const fireviewSchema = defineSchema(
  {
    tableViewd: TableViews,

  },
}

I can see that convex creates a new table called tableViewd in the dashboard, so not sure what the "tableViews" string is being used for? @ian
Was this page helpful?