#entity names

2 messages · Page 1 of 1 (latest)

minor panther
#

when using query graph, how do i lookup the names of the entity tables? do I just have to remember them? I'm trying to query product variants, could it be 'product_variants' or just 'variants' .etc

proper sage
#

Hi Jim, if you run yarn dev or npm dev, Medusa generates the necessary types for you. You can then leverage auto complete with query.graph. Have you tried that?