Return type from db is any?
Hi team! I am still trying to prototype my DB and i've been seeing return type of "any." Is this expected? In other words, once i do "defineSchema" and "defineTable" to my db, i will be getting the correct type for each field returned. Thanks!

2 Replies
Have you done
definedSchema
yet? If not this is right, until you define a schema and the generated code is updated (via any of npm run dev
, npx convex dev
, or npx convex codegen
) queries will return any
.i have not! this makes sense. thanks! 🙂