Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
レールの列に一意の値を持つレコードを作成する際に、どちらがより効率的ですか? 一意性の検証を配置するのと、同じ値を持つレコードが存在するかどうかを調べて、存在に基づいて作成します。
どちらがコーディングとパフォーマンスの点でより効率的です。