Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Cassandra で INSERT/UPDATE コマンドを実行した結果、新しい行が作成されたか、古い行が更新されたかを調べる方法はありますか?
私が尋ねている理由は、テーブル内の行数のカウントを維持したいからです。
ありがとう!
更新/挿入を行う前に、Cassandra にクエリを実行できます。クエリが行の存在を示している場合、それは挿入ではなく更新であることがわかります。