Open NiaMori opened 1 year ago
Attribute of composite tuple starting with colon is not working in js
A minimal reproduction is provided on stackblitz
const d = require('datascript') const db = d.db_with( d.empty_db({ 'a+b': { ':db/tupleAttrs': [':a', 'b'] } }), [{ ':a': 'A', b: 'B' }] ) console.log(d.q('[:find ?e ?a+b :where [?e "a+b" ?a+b]]', db))
[ [ 1, [ null, 'B' ] ] ]
[ [ 1, [ 'A', 'B' ] ] ]
Thanks for reporting!
Description
Attribute of composite tuple starting with colon is not working in js
Reproduction
A minimal reproduction is provided on stackblitz
Actual Output
Expected Output
Version
Maybe Related
422