roam/daily/2022-05-27.org
2022-05-27 17:35:02 -04:00

1.2 KiB

2022-05-27

Normalizing tags in production

  SELECT COUNT(*)
  FROM accounts
  WHERE NOT normalized AND total <= 1000
Find the next set of least affected accounts
count
301
  SELECT account_id
  FROM accounts
  WHERE NOT normalized AND total <= 1000
  (let ((filename "~/git/normalize_account_tags/production/09-less-than-equal-to-one-thousand"))
    (with-temp-file filename
      (insert (s-join "\n" (-map #'car accounts))))
    filename)

/correlr/roam/src/commit/3b2f25715aacea628a65677bcea865ae4db12670/daily/~/git/normalize_account_tags/production/09-less-than-equal-to-one-thousand