What is the most effecient way to code for database? PostgreSQL

here it is

and also there is the dbkit example in the xojo examples folder.

and yes it is really easier to have an app that write all this classes and code for you