In some cases, for instance in a table that has a numeric field 'trial', fetchn gives an error:
fetchn(rrr,'trial')
No appropriate method, property, or field 'tableHeader' for class 'dj.internal.GeneralRelvar'.
I fixed it in the code by changing
dj.internal.GeneralRelvar (line 293)
if self.tableHeader.attributes(sel).isNumeric
to
if self.header.attributes(sel).isNumeric
@arsenyf Thank you for the report and for debugging this! This has been determined to be a simple typo. Will open a PR with this fix and others soon. Also, closing this issue since it is a duplicate of #361.
In some cases, for instance in a table that has a numeric field 'trial', fetchn gives an error: fetchn(rrr,'trial') No appropriate method, property, or field 'tableHeader' for class 'dj.internal.GeneralRelvar'.
I fixed it in the code by changing dj.internal.GeneralRelvar (line 293)
if self.tableHeader.attributes(sel).isNumeric to if self.header.attributes(sel).isNumeric
In other queries fetchn worked fine