Comments (1)
An alternate approach that trades much of the convenience of your "table assertion" approach above in favour of true SQL power would be to expose an (sql ...)
function to the query engine. I assumed we wanted some kind of (places-bookmarks ...)
query function already; this would be similar. (Compare (fulltext ...)
.) Such a function would be strictly more general, allow for much fancier SQL representations, and require potentially simpler support in the query engine. Of course, it also makes it much less pleasant to transact new data against this representation ... but even that could be addressed by extending the EDN accepted by the transactor to accept, for example
[(table "visits"
:page/visitTime ...
:page/visitDevice ...
:page/visitType ...)]
such an approach could even write to Places if needed.
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
- Expand internal representation of an Attribute to represent idea of absence HOT 1
- 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.