FIELD fields[5]; DB_KEY_DEF keys[3]; TABLE table = { "table_name", FIELDS( fields ), TABLE_KEYS( keys ) };
This creates a static table definition with the name "table_name" and 5 fields with 3 keys. fields[] = { } is usally the declartion. Also DB_KEY_DEF keys[] = { ... }; for keys.