Comments (2)
- Is it possible to use query language other than a predicate? Something compiled and strongly typed?
I was thinking on bootstrapping this, that means relaying on existing tools as much as possible.
- What are the potential reasons for the local DB to error out? If they can all be mitigated, It would be so cool to be able use local persistent storage as one does with assigning a variable - a synchronous assignment
I'm not sure I follow. If the DB errors then you'll most likely want a crash, right?
from dream.
- The ideal interface would be treating the DB as an array, so I could do something like
Database.Posts.filter { $0.id == "the id I'm looking for" }.first!
, so if its possible to take that and make it performant, it would be 🔥. If not, the closer we can get to that the better. Maybe under the hood, Dream can take the closure{ $0.id == "the id I'm looking for" }
and translate it into a predicate? - What I'm saying is it would be awesome to be able to
Database.posts.append(newPost)
, and not have to worry about the errors, or the asynchronicity of the operation. Treating the database as you would something in memory, reducing cognitive load of using persistent storage.
It's pretty far out though, I'm not sure if it's possible to do this yet 😮
from dream.
Related Issues (4)
- Nice Idea! HOT 1
- Fetch HOT 1
- UML 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 dream.