postgresql - Programming error while saving json data to django model using amazon redshift -


got following error while inserting data django model. storing json data after converting data string in amazon redshift postgresql

db.utils.programmingerror: syntax error @ or near "returning". 

i getting error because id primary key , autofield (created default django if don't specify primary key) , amazon redshift doesn't support it. still working on it. update answer once solved.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -