Usually data has tree structure that saved in game database. ProudNet Database Cache System version 2 is designed for that. ProudNet Database Cache System version 2 handle data with “tree”
Example of saving user account data in DB
This tree is divided into nodes. Of course each nodes has parents/child relation and each nodes has name-parameter pair (Property field) This tree corresponds to database as followed.
From loaded Tree | From database |
”1” Node | ”1” Record |
Type of Node | Name of Table |
Property that Node owned | Fields in the record |
Parent/Child relation of Node | Required filed in the record |
Table name in root node and table name in child node must be different on top node of data tree that ProudNet Database Cache System version 2 loaded.