Skip to content
cubiclabs edited this page Dec 24, 2021 · 2 revisions

DBean uses the concept of 'beans' to create an abstraction for database tables and columns.

It does rely on unique primary keys to identify a 'bean', so the target database does need to at least have this on its tables in order for DBean to work properly.

The basic concept is that this will simplify interaction with the database allowing you to easily:

Create db.bean("test")
Read db.bean("test", 1)
Update bean.setColumn("wagga")
Delete bean.delete()
Clone this wiki locally