Comments (1)
Rule 1 assumes that every attribute must be named by ident. In general we discourage retracting idents (it's kinda scary and meaningless to reassign an ident to a different entity), so…
Rule 2: it would be risky to retract the ident, and bear in mind that you can just retract a single attribute and then assert a new value for it in the same transaction…
What you're talking about here is a kind of consistency: that given a set of schema-required attributes A, this badly written predicate logic holds:
∀ a ∈ A, s ∙ asserted(s, a, _) ⇒ ∀ a' ∈ A ∙ asserted(s, a', _)
In english: for all entities in the union of the domains of required schema attributes, every required schema attribute is present on each entity. You might benefit from thinking about it in those terms.
from mentat.
Related Issues (20)
- Convert code base to Error/ErrorKind pattern HOT 1
- [size] Don't depend on regex
- [meta] Reduce dependencies and on-disk footprint HOT 2
- Avoid monomorphizing large functions multiple times HOT 1
- arm64 Android build target failing
- Consider including counts of assertions/retractions in the TxReport HOT 1
- Implement :db/isComponent
- [tx] Transactor shouldn't treat `:db/doc` as defining schema attributes HOT 1
- [ffi] Consider a loosely typed Android SDK
- Use SQLITE_SECURE_DELETE=1 to avoid vacuuming data
- [build] Publish Mentat Android SDK to jcenter/bintray HOT 10
- Asserting a schema attribute must require presence of minimal set of attributes HOT 1
- Investigate methods of reducing the on-disk size of Mentat databases
- lookup-ref syntax is different between Mentat and Datomic HOT 2
- EDN parser swallows and discards \n, \t, \r
- No easy way to go from TypedValue => EDN string
- No way to bind aggregate to variable in query HOT 2
- Double retractions in the transaction log
- Support namespaced maps HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mentat.