Closed mathewmorris closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
magic-vault | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 8, 2024 8:35am |
I can search for a card in a database I populate with bulk data from Scryfall.
This is locally though.
card
(might be a terrible name for this table, but when I talk about it "I added cards to the card table", it makes sense to me).card
table for any items with the name
that contain the search stringthis completes the first two items.
Next is to add more data types to prisma schema. I intially tried by using @json
, but it didn't seem to work easily. Once this is finished I can show images and other information in the results.
This is O(n) on the insertions, I'd like to figure out the best approach to adding this HUGE json file's data to my db without making it cost a ton or use up a bunch of my query budget (since I get so many per month on the hobby plan).