Convex Ents documentation: code comment // You can now use ctx.table as well:
https://labs.convex.dev/convex-ents/setup/existing#setup-custom-functions
There is a code comment that says
// You can now use ctx.table as well:
Is that "as well" statement actually true? My interpretation of the Convex Ents docs is that using Convex Ents is an all-or-nothing commitment:
- The developer totally replaces defineEntSchema() with defineSchema(), and doesn't use defineSchema() at all for the foreseeable future
- A project that uses Convex Ents does not use this import statement at all:
import { mutation, query } from "./_generated/server";
And so should not be using ctx.db.query()
Is this interpretation correct?
