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
PostgreSQL vers 10
Shema
CREATE TABLE meta_point_params ( id SERIAL NOT NULL CONSTRAINT meta_point_params_pk PRIMARY KEY, point_id INTEGER NOT NULL CONSTRAINT meta_point_params_points_id_fk REFERENCES points ON DELETE CASCADE, param_name VARCHAR(208) NOT NULL, value JSON NOT NULL );
Query:
-- name: PreFetchPointParamsByPointIds :many SELECT * FROM meta_point_params mpp INNER JOIN points p ON mpp.point_id = p.id WHERE p.id = $1;
The text was updated successfully, but these errors were encountered:
Should be json.RawMessage or []byte
Sorry, something went wrong.
Simple solution in the config
overrides: - go_type: "encoding/json.RawMessage" db_type: "json"
Successfully merging a pull request may close this issue.
PostgreSQL vers 10
Shema
Query:
The text was updated successfully, but these errors were encountered: