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

后端 未结 14 2292
北荒
北荒 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:18

    What worked for me was removing a field alias - going from this:

    SELECT
      l.MSKU Item_SKU,
      l.Supplier,
      l.ASIN,
      l.title,
      l.Buy_Price
    FROM listings l
    WHERE l.Buy_Price IS NULL
    ORDER BY l.Supplier, l.listingID desc;
    

    to this:

       SELECT
      l.MSKU,
      l.Supplier,
      l.ASIN,
      l.title,
      l.Buy_Price
    FROM listings l
    WHERE l.Buy_Price IS NULL
    ORDER BY l.Supplier, l.listingID desc;
    

    is all it took for me to be able to edit the results of the query

提交回复
热议问题