Zephyr的小小空間
俗話說努力不一定成功

MongoDB Replica with Spring Data MongoDB

這篇文章用來整理一下最近處理的事情,首先為什麼需要讓 MongoDB 有 replica 功能? 我們知道在操作資料庫時如果當中有一個部份出現錯誤而拋出異常,那麼這次的資料庫操作應該要進行 rollback 避免錯誤。 當我們想要在 MongoDB 當中進行 rollback 時就需要你的 MongoDB 有啟動 replica 功能。 要讓 MongoDB 啟動 replica 功能就需要至少 3

UITableViewCell Auto Layout | By Zephyr Huang

Written on 2025–04–20 在本文當中想要分享一些在 UITableViewCell 當中使用 auto layout 發生的一些事情。 我們都知道在自定義的 UITableViewCell 當中如果想要保有與系統相同的內部間距可以在 auto layout 當中透過 contentView.layoutMarginsGuide 來設定 layout constraint。 當我們想要自定義 cell 並且希望移除系統自帶的分割線同時希望兩個

Episode

00:00:00 00:00:00