Rethinkdb join array having subdocument
<p>I am not getting any results(no error as well) when I eq join a subdocument array.</p>

<p>Consider the following structure for user</p>

<p>User Table:</p>

<pre><code>{
"email": "email@emaildomain.com",
"id":  "ca433c6a-8cbc-4687-b217-19cabe5fcf63" ,
"image": https://lh4.googleusercontent.com/-44yrW_REeoU/AAEAAAAAAAAI/AAAAAAAAACI/CWvSF3isGRjM/photo.jpg?sz=50, »
"name":  "John Doe" ,
"hobbies": [
{
"id":  "reading" ,
"params": { } ,
"freqency" : "daily"
}
]
}
</code></pre>

<p>Hobbies Table : </p>

<pre><code>{
id : "reading",
type : "outdoor"
}
</code></pre>

<p>Expected Result : </p>

<pre><code>{
"email" : "email@emaildomain.com",
"hobbies" : [{
"id" : "reading",
"params" : {},
"type" : "outdoor",
"frequency" : "daily"
}]
</code></pre>

<p>I tried with below query with no success.</p>

<pre><code>  r.db('test').table("users")
    .getAll('email@emaildomain.com', {'index' : 'email' })
    .pluck('hobbies')
    .getField('hobbies')
    .eqJoin('id' , r.db('test').table('hobbies'))
</code></pre>

<p>what am i doing wrong here?</p>