You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like the following SQL code is expected, with "job_json" #>> '{id}'
SELECT
pipeline_json #>> '{id}' AS "pipeline_id","job"."job_json"#>> '{id}' AS "job_id"FROM"pipeline"AS"pipeline"LEFT OUTER JOIN"job"AS"job"ON"pipeline"."job_id"="job"."id"WHERE"pipeline"."user_id"=123;
But actually the following SQL is produced, with "job_json#>>'{id}'"
SELECT
pipeline_json #>> '{id}' AS "pipeline_id","job"."job_json#>>'{id}'"AS"job_id"FROM"pipeline"AS"pipeline"LEFT OUTER JOIN"job"AS"job"ON"pipeline"."job_id"="job"."id"WHERE"pipeline"."user_id"=123;
Which obviously followed by error SequelizeDatabaseError: column job.job_json#>>'{id}' does not exist
Please share if there is any workaround for this case.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
Activity
mkaufmaner commentedon May 18, 2017
@elmeister What version of Sequelize are you using?
sushantdhiman commentedon May 19, 2017
I have verified this bug exists on current
masterelmeister commentedon May 19, 2017
@mkaufmaner
3.30.4stale commentedon Jul 18, 2017
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂
elmeister commentedon Jul 18, 2017
It is still an issue actually.
sm2017 commentedon Oct 6, 2021
@elmeister Do you have a solution?
@sequelize Please fix it