Database Writer Question

Are you having problems with using or developing a plugin? Let me know here.
Post Reply
RatbyVRS
Posts: 4
Joined: Fri Apr 01, 2016 4:28 pm

Database Writer Question

Post by RatbyVRS » Wed Jun 01, 2016 7:15 pm

Hi,

Is it possible to get the route info to write to the Database? I am not great at coding so any help would be great.

Cheer

Alistair

agw
Posts: 2249
Joined: Fri Feb 17, 2012 3:20 am

Re: Database Writer Question

Post by agw » Thu Jun 02, 2016 1:28 am

There aren't any fields in the database explicitly for route information, you would either need to change the database's schema to add them or re-use one of the user fields.

However, the routes are already in StandingData.sqb and they're shown in reports on the flights in BaseStation.sqb. If you have your own application that's reading BaseStation.sqb then you can just use the callsign from the flight to look up the route in StandingData.sqb.

Post Reply