AdaHeads / call-flow-control

Call-information flow server.
Other
6 stars 8 forks source link

Abstract away the low level result cursor for the SQL queries #24

Closed rostgaard closed 11 years ago

rostgaard commented 11 years ago

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.