|< < 35 > >|

What about other languages?

Database APIs for other languages are very similar.

  • Startup: Provide connection information and get a connection.

  • Cleanup: Destroy/close/cleanup the connection.

  • Query:
    • Submit a query over the connection.
    • Get the result one row at a time.
    • Get values out of the row one column at a time.
    • Don't forget to check for null first.

  • Update:
    • Submit the update over the connection.
    • Check the update count.

|< < 35 > >|