<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>t-moritsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/t-moritsugu/</author_url>
  <blog_title>Goalist Developers Blog</blog_title>
  <blog_url>https://developers.goalist.co.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>SQLAlchemy</anon>
  </categories>
  <description>こんにちは ゴーリスト開発のモリツグです 最近ちょっとずつPythonを触り始めたひよっこです。 Python3.6でSQLAlchemyを使っていて何故かupdateが行われない現象に悩まされたので、原因と対処法をメモしておこうと思います。 ぶちあたった問題 sessionの取得やcommit flush closeあたりは適切に行われているものとして省略します。 あとPythonなのにキャメル記法なのは一旦みなかったことにしてください。 ・・・(sessionの取得)・・・ # 更新したいレコードを取得 dbAccount = session.query(Account) .filter(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevelopers.goalist.co.jp%2Fentry%2F2018%2F01%2F19%2F170000&quot; title=&quot;SQLAlchemyでsetattrしたのにupdateされない - Goalist Developers Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/t-moritsugu/20180118/20180118203243.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-19 17:00:00</published>
  <title>SQLAlchemyでsetattrしたのにupdateされない</title>
  <type>rich</type>
  <url>https://developers.goalist.co.jp/entry/2018/01/19/170000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
