I am getting the emails as content, when change the (field :*) to (field :username) the :emails is added but empty. The fieldfilter not accepting :emails.email or :email too. Which I tried as I thougth it might be required in this case.
This is the normal behavior or a bug? I supposed it would be possible to filter has-many fields statements too?
Forgot to mention: [korma "0.4.3"]; Oh and mysql with mariadb backend ;)
Hi, I have the following test:
Table user [id, username] pk(id) Table emails [user_id, email] pk(user_id, email)
When selecting with
I am getting the emails as content, when change the
(field :*)
to(field :username)
the :emails is added but empty. The fieldfilter not accepting :emails.email or :email too. Which I tried as I thougth it might be required in this case.This is the normal behavior or a bug? I supposed it would be possible to filter has-many fields statements too?
Forgot to mention: [korma "0.4.3"]; Oh and mysql with mariadb backend ;)