<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>Django</anon>
    <anon>Python</anon>
  </categories>
  <description>前々回はSELECT、前回はINSERT, UPDATEだったので、今回はDELETEを書いてみます。 なお、ベースのアプリは前回のものを引き継ぎます。 環境 Windows7 x64 Python 3.4.3 Django 1.8.4 SQLite3 PostgreSQL 9.4.4 x64 DELETE 全件削除 Deletion.objects.all().delete() #=&gt; DELETE FROM &quot;runner_deletion&quot; 条件に一致したレコードのみ削除 Deletion.objects.filter(name='foo').delete() #=&gt; 'DELETE F…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2015%2F09%2F14%2F062428&quot; title=&quot;SQLのDELETE文を、DjangoのQuerySet APIで書いてみた - メモ的な思考的な&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-09-14 06:24:28</published>
  <title>SQLのDELETE文を、DjangoのQuerySet APIで書いてみた</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2015/09/14/062428</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
