Closed KaiHa closed 7 years ago
Hi,
the function _couchbeamview:fetch/3 has different return types in documentation and spec.
Return: {ok, Rows} or {error, Rows, Error}
{ok, Rows::list(ejson_object())} | {error, term()}
In case of an error says the documentation that a tuple of 3 is returned, the spec that a tuple of 2 is returned. I am not 100% sure, but I think the spec is right.
Hi,
the function _couchbeamview:fetch/3 has different return types in documentation and spec.
Return: {ok, Rows} or {error, Rows, Error}
{ok, Rows::list(ejson_object())} | {error, term()}
In case of an error says the documentation that a tuple of 3 is returned, the spec that a tuple of 2 is returned. I am not 100% sure, but I think the spec is right.