<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi. I don’t want to blast this entire list so I was hoping you could forward to list admin to cut me out of this. <div>Apparently someone managed to sign me up this weekend - </div><div><br></div><div>Thanks <br><br><div id="AppleMailSignature"><div><br></div><div><div><br></div><div>Jesse Pinkerton </div></div></div><div><br>On Feb 5, 2018, at 12:17 PM, Sandro Knauß <<a href="mailto:noreply@phabricator.kde.org">noreply@phabricator.kde.org</a>> wrote:<br><br></div><blockquote type="cite"><div><table><tbody><tr><td style="">knauss added a comment.
</td></tr></tbody></table><br><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>The [CollectionAttributeTable] is being used as a generic key/value pair table - see why this is not a good way to go if there is heavy demand on this table.</p></blockquote>

<p>This table is used, so that each resource can save additionla data  for a collection, so far I know it is mostly requested via collectionid and a given type. Aka:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">select value from CollectionAttributeTable where type="type" and collectionId=?</pre></div>

<p>One type is defined in one attributeclass see. src/core/*attribute.(cpp|h) and than src/core/protocolhelper.cpp  and src/core/attributefactory.cpp  doing the magic.</p></div></div><br><div><strong>TASK DETAIL</strong><div><a href="https://phabricator.kde.org/T7846" rel="noreferrer">https://phabricator.kde.org/T7846</a></div></div><br><div><strong>To: </strong>pablo, knauss<br><strong>Cc: </strong>knauss, dvratil, kde-pim, pablo<br></div></div></blockquote></div></body></html>