sunpeek.db_utils.crud.delete_component#
- sunpeek.db_utils.crud.delete_component(session, component)#
Removes a component from the database
- Parameters:
session (
Session
)component (
An instance
ofa subclass
ofcmp.Component
)
- Return type:
The updated object after commit
tothe database. This may have had modifications made by database side logic.