We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The comma in line SELECT unnest(regexp_split_to_array(tags, ',')) AS tag_name" from the following function is the one that gets reported:
SELECT unnest(regexp_split_to_array(tags, ',')) AS tag_name"
tag_filters(DocName, #{conn := Conn} = State) -> TableName = atom_to_list(DocName), Sql = ["SELECT " " 'tag' AS \"type\", " " tag_name AS value, " " COUNT(1) AS \"count\" " "FROM ( " " SELECT unnest(regexp_split_to_array(tags, ',')) AS tag_name" " FROM ", TableName, " " ") AS tags " "GROUP BY tag_name " "ORDER BY tag_name "], Values = [], case get_maps(Conn, Sql, Values) of {ok, Maps} -> {ok, {raw, Maps}, State}; {error, Error} -> {error, Error, State} end.
The text was updated successfully, but these errors were encountered:
Fixed along with #236
Sorry, something went wrong.
No branches or pull requests
The comma in line
SELECT unnest(regexp_split_to_array(tags, ',')) AS tag_name"
from the following function is the one that gets reported:The text was updated successfully, but these errors were encountered: