<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hanmoi</author_name>
  <author_url>https://blog.hatena.ne.jp/hanmoi/</author_url>
  <blog_title>ネットの隅っこ</blog_title>
  <blog_url>https://dandanke2020.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>仕事でコードに関して考察した時のメモ。 DB等からとってきたレコードをあるキー値に基づいてグループ化したとします。 そして、そのレコードをループで処理していく際に、 グループ単位で何らかの処理をしたい、という場合があります。このような処理を「キーブレイク処理」と呼ぶらしいです。 キーブレイク処理キーブレイク処理(またはコントロールブレイク処理)とは、ソート済みのレコードを順に読み込んで、 レコード内のある項目(キー)が同一のレコードごとにグループ分けして処理を行うこと。 例えば、キーごとの件数を数えたり、集計をしたりといった処理が挙げられる。引用 : キーブレイク処理を簡潔に書きたい - A …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdandanke2020.hateblo.jp%2Fentry%2F2021%2F05%2F15%2F104503&quot; title=&quot;グループ単位のレコード処理について - ネットの隅っこ&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>2021-05-15 10:45:03</published>
  <title>グループ単位のレコード処理について</title>
  <type>rich</type>
  <url>https://dandanke2020.hateblo.jp/entry/2021/05/15/104503</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
