Mathematica: GOTCHA: Setting the value of a property of an Entity using EntityValue[e,"property"] where 'e' is an Entity does NOT work with a relational database backed EntityStore, which undermines half the point of a relational database bridge!

This page identifies a possible issue, concern, error, limitation, or bug!
Webel IT Australia promotes the amazing Mathematica tool and the powerful Wolfram Language and offers professional Mathematica services for computational computing and data analysis. Our Mathematica tips, issue tracking, and wishlist is offered here most constructively to help improve the tool and language and support the Mathematica user community.
DISCLAIMER: Wolfram Research does not officially endorse analysis by Webel IT Australia.
Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Mathematica keywords
Keywords
If you have a purely expression-based EntityStore in a Notebook, the following sets the value of a "property" for an Entity 'e':
EntityValue[e, "property"] = value

But not so for relational database backed EntityStore!:

Set::write: Tag EntityValue in EntityValue[...,.. is Protected.
In other words, of CRUD = (C)reate-(R)ead-(U)pdate-(D)elete you only get (R)ead (query), which undermines half the point of a database bridge!

You have to use raw SQL with ExternalEvaluate. Not cool.


Visit also:
Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)