[DiscordArchive] Another question, do you know how to establish a connection to a database to obtain information and
[DiscordArchive] Another question, do you know how to establish a connection to a database to obtain information and
Archived author: TwilightQora • Posted: 2023-11-15T19:21:57.563000+00:00
Original source
Another question, do you know how to establish a connection to a database to obtain information and display it safely through an addon?
![[Image: Screenshot_2023-11-15_142206.png?ex=690c...da7d59ae2&]](https://cdn.discordapp.com/attachments/448835144564867094/1174429196748083241/Screenshot_2023-11-15_142206.png?ex=690c4cac&is=690afb2c&hm=a077adff062429eaa4d1d511463150725a71259e32173a6b553fa68da7d59ae2&)
Archived author: TwilightQora • Posted: 2023-11-15T19:22:20.392000+00:00
Original source
![[Image: Screenshot_2023-11-15_142206.png?ex=690c...da7d59ae2&]](https://cdn.discordapp.com/attachments/448835144564867094/1174429196748083241/Screenshot_2023-11-15_142206.png?ex=690c4cac&is=690afb2c&hm=a077adff062429eaa4d1d511463150725a71259e32173a6b553fa68da7d59ae2&)
Archived author: Honey • Posted: 2023-11-15T20:03:01.271000+00:00
Original source
You don't want players to be able to spam-query your database. It's better to have a cache of data.
You can use eluna queries to read the data into a container variable/table and display it on request.
Archived author: volek • Posted: 2023-11-16T03:44:12.810000+00:00
Original source
I was looking at this, and perhaps an easier approach would be to statically store the data into mysql then reference it by entryId to get a price? I think it would prove to scale better and result in faster user experience. We talked to the good people at WoWAuctions through a private api key to get our data for the mod-auctionator, but I can share this repo if you end up wanting to process item prices in the background to mysql.
https://github.com/araxiaonline/wow-mark.../tree/main
[Embed: GitHub - araxiaonline/wow-market-place-miner: Mines item prices fro...]
Mines item prices from online to get market rates. Contribute to araxiaonline/wow-market-place-miner development by creating an account on GitHub.
https://github.com/araxiaonline/wow-mark.../tree/main