Hi,
I'm newcomer to slamdata. just write following query against mondodb 3.4.4.
SELECT
b.name as A_NAME, c.c_name as B_CLASS_NAME from `/edb/obj` as b JOIN `/edb/class_obj` AS c ON c._id=b.classobjid
Here:
1. obj and class_obj are two collections undder same database edb.
2. SELECT
b.name as A_NAME from `/edb/obj` as b ----- works, return A_NAME column data
3. SELECT c.c_name as B_CLASS_NAME from `/edb/class_obj` AS c ---- ----- works, return B_CLASS_NAME column data
always get error as below:
{
"error": {
"status": "Malformed SQL^2 query.",
"detail": {
"message": "operator '*' expected; but found `*** error: '!' expected but _ found'"
}
}
}
it looks slamdata does not support "c._id" as join condition..., but look at the slamdata document, it should work. anyone please help!