Skip to content
Unverified Commit c44511b0 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by Daniel Kesselberg
Browse files

Add AppFramework/Db base classes



This will allow apps to use Entities that do not have an id attribute.
They can have other unique columns forcing an id is not ideal in all
cases.

For this two base classes are introduced and the current Entity and
QBMapper are actually based on the base classes.

The Entity is really simple and just adds the id property.
The BaseMapper is a bit less clean. As we can't know the where clause
for insert/delete or update parts.

Signed-off-by: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent 2ebf88a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment