Gilhari Relationships With Implicit Attributes Example

•

Illustrates Gilhari's implicit attributes feature for automatic foreign key management in JSON objects within a RESTful microservice.

Gilhari is a Docker-compatible microservice framework that provides RESTful Object-Relational Mapping (ORM) functionality for JSON objects with any relational database, automating REST API handling and database schema setup without manual coding. This specific example demonstrates Gilhari's powerful implicit attributes feature, which automatically populates foreign key values in contained (referenced) JSON objects based on their containing (referencing) parent objects. This significantly simplifies JSON object creation by eliminating the need for client code to explicitly specify redundant foreign key values in child objects, leading to cleaner JSON structures, reduced errors, and automatic cascading deletions with BYVALUE semantics.

Key Features

01Automated REST API (CRUD) generation for JSON models
020 GitHub stars
03RESTful Object-Relational Mapping (ORM) for JSON objects
04Docker-compatible microservice deployment
05Automatic foreign key management via implicit attributes
06Automated relational database schema setup

Use Cases

01Learning Gilhari's implicit attributes for foreign key management
02Building RESTful microservices for persisting relational JSON objects
03Simplifying JSON object creation and reducing redundancy in client code