Miscellaneous functions

Well, DAL seems to have some miscellaneous functions which may or may not be usefull to you. Below you'll find them with a short description

Fetching the last insert

This functions gives you the last insert you made, well the last insert you made with the current object :-)) It gives you the result as an object. Just call fetchLastInsert and you get it, or NULL when it fails.

object fetchLastInsert(void);

Fetching the last autogenerated ID

This functions provides you with the last autogenerated ID.

int fetchInsertID(void);

When the last autogenerated value couldn't be fetched DAL returns 0 (zero).

Enumeration of the available drivers

This function returns the names of the drivers which are available. The return value is an array.

array enumDrivers(void);

Getting the name of the used driver

You can get the full name of the driver you're currently using by calling getDriverName.

string getDriverName(void);