これも Notion AI で翻訳し、微修正しました。
概要
最新の Notion API 更新情報をお読みください。
- 数値データベースプロパティは、シンガポールドルを通貨フォーマットとしてサポートしています。使用するには、データベースプロパティまたはスキーマの
format
フィールドに"singapore_dollar"
を設定してください。
検証
NotionRubyMapping で検証しました。変更後は SGD となっており、正しくシンガポールドルが設定できていることがわかります。
db = Database.find "https://www.notion.so/hkob/6a0ed6f7ec54485a 9ed8d379f6e2bf5d?v=316e4c896a074798b4afbd1c30cf70b5" => NotionRubyMapping::Database-6a0ed6f7ec54485a9ed8d379f6e2bf5d db.properties["price"].format = "singapore_dollar" => "singapore_dollar" db.save => NotionRubyMapping::Database-6a0ed6f7ec54485a9ed8d379f6e2bf5d
singapore_dollar チェック