nahtnam
06/14/2022, 6:17 AMimages
which belongs to a snapshot
which belongs to a category
. (Snapshot is just an instance from when I scrape from the website). I want to find all images for a certain category by name.Needle
06/14/2022, 6:17 AMnahtnam
06/14/2022, 6:19 AMsupabaseClient
.from("images")
.select("*,snapshots:snapshot_id(*),categories:category_id(*)")
.eq("snapshots.categories.name", categoryName)
.limit(30)
nahtnam
06/14/2022, 6:28 AM.select("*, snapshots!inner( categories!inner ( name ) )")
silentworks
06/15/2022, 12:32 AMimages
and snapshot
tables?nahtnam
06/16/2022, 4:59 AMnahtnam
06/16/2022, 5:00 AMsilentworks
06/16/2022, 10:49 AMnahtnam
06/17/2022, 6:32 AMsnapshot_id
and snapshots have category_id
nahtnam
06/17/2022, 6:32 AM