You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-11Lines changed: 4 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -264,11 +264,7 @@ Interface differences:
264
264
* Custom aggregate functions are called via aggregate keyword: `:find (aggregate ?myfn ?e) :in $ ?myfn`
265
265
* Additional `:db.fn/retractAttribute` shortcut
266
266
* Transactions are not annotated by default with `:db/txInstant`
267
-
268
-
Expected soon:
269
-
270
-
* Better error reporting
271
-
* Proper documentation
267
+
* When “transaction function” is called, the db that this function receive is a “partial db” relative to it's position in transaction.
272
268
273
269
## Differences from Datomic
274
270
@@ -277,13 +273,10 @@ Expected soon:
277
273
* Simplified schema, not queryable
278
274
* Attributes do not have to be declared in advance. Put them to schema only when you need special behaviour from them
279
275
* Any type can be used for values
280
-
* No `:db/ident` attributes, keywords are _literally_ attribute values, no integer id behind them
276
+
* No `:db/ident`for attributes, keywords are _literally_ attribute values, no integer id behind them
281
277
* No schema migrations
282
-
* No cache segments management, no laziness. Entire DB must reside in memory
283
-
* No facilities to persist, transfer over the wire or sync DB with the server
284
-
* No pluggable storage options, no full-text search, no partitions
278
+
* No full-text search, no partitions
285
279
* No external dependencies
286
-
* Free
287
280
288
281
Aimed at interactive, long-living browser applications, DataScript DBs operate in constant space. If you do not add new entities, just update existing ones, or clean up database from time to time, memory consumption will be limited. This is unlike Datomic which keeps history of all changes, thus grows monotonically. DataScript does not track history by default, but you can do it via your own code if needed.
0 commit comments