Instead of referencing indices according to the result, we should reference components of an Ada record.
All SQL queries are now placed in Storage.Queries, so instead of interacting directly with the low level GNATCOLL forward cursors, we can enjoy the benefits of proper Ada types. Everything that is ugly about the GNATCOLL.SQL forward cursors are safely hidden away in the Storage.Qeuries package.
Instead of referencing indices according to the result, we should reference components of an Ada record.
All SQL queries are now placed in Storage.Queries, so instead of interacting directly with the low level GNATCOLL forward cursors, we can enjoy the benefits of proper Ada types. Everything that is ugly about the GNATCOLL.SQL forward cursors are safely hidden away in the Storage.Qeuries package.