Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
2
Help us understand the problem. What is going on with this article?
@makoto_kw

Kobitoメトリクス

More than 5 years have passed since last update.

Kobitoが保存しているSQLiteデータベース ~/Library/Kobito/Kobito.db を直接参照して調べる。

コードを書くのが面倒な場合は、SQLite ProfessionalやIDEのデータベース参照機能などのツールを使ってクエリを実行するのが吉。

念の為、Kobitoアプリは終了しておきSQLiteデータベース参照中はノートを更新しないか、別にファイルコピーしたSQLiteデータベースを参照したりすること。

ノートの数

ゴミ箱以外にあるノートの数。

SELECT COUNT(*) FROM ZITEM WHERE ZIN_TRASH IS NULL;

毎月のノート作成数

毎月どれくらいノートを作成しているか。

SELECT strftime('%Y-%m', ZCREATED_AT, 'unixepoch', 'localtime', '+31 years') AS m, count(*) AS c
 FROM ZITEM WHERE 1 GROUP BY strftime('%Y-%m', ZCREATED_AT, 'unixepoch', 'localtime', '+31 years');
2
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
makoto_kw
本当は音楽、動画周りの技術ネタを投稿したい

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
2
Help us understand the problem. What is going on with this article?