Hi all, I have a school assignment that requires we make an application that accesses a database, in particular, our school Oracle db instance.
We're allowed to write this assignment in any language, so I reckoned I'd give it a shot in Swift.
I've found many questions like this...(Connect to an Oracle Database in Swift - Stack Overflow) in which people are trying to access a DB from a mobile front end. Naturally, answers are advising against making DB connections from the front end, and instead connecting to a back end application that does the DB access. These questions aren't helpful, because I'm trying to write that back end application... in Swift.
Thanks.
I don't think there's anything official for any of the listed frameworks yet, but you could give SwiftOracle a try. It's a wrapper around the C driver OCILIB which you could also try using if you were feeling adventurous.
The trunk of SwiftOracle is out of date, but you might try this fork which looks like it might have been updated to Swift 4 at least.