datagrip Cannot apply changes This table is read only. Cell editor changes cannot be applied

后端 未结 14 2279
北荒
北荒 2020-12-11 00:45

So simply the problem occurs when I want to edit selected rows and then apply it. I\'m sure it worked some time ago. Tried redownload postgres driver in preferences(yeah, I

14条回答
  •  鱼传尺愫
    2020-12-11 01:05

    If your query is using field alias (renaming column instead of using actual column name) , then Datagrip set data results as read only.

    Solution: Rewrite query using field names as in the table and rerun query. Then you will be able to edit the rows.

    Example

    Rewrite this:

    select id,interest_recalcualated_on, interest_recalculation_enabled alias from m_loan;
    

    ..to this:

    select id,interest_recalcualated_on, interest_recalculation_enabled from m_loan;
    

提交回复
热议问题