---
title: "Discussion on \"Mark as default - the optimal way\" | Hashnode"
description: "Discussion on \"Mark as default - the optimal way\". Hey guys,\nAn easy topic for today! Make something a default (e.g., category, product, campaign, etc).\nLet’s go with the categories table for the examples. Let’s say we only want one category to be the default one. And find out which is the optimal wa..."
url: "https://hashnode.com/posts/mark-as-default-the-optimal-way/693402eadea6020c0761a83e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mark as default - the optimal way](https://sethphat.dev/mark-as-default-the-optimal-way?utm_source=hashnode&utm_medium=feed)

Hey guys, An easy topic for today! Make something a default (e.g., category, product, campaign, etc). Let’s go with the categories table for the examples. Let’s say we only want one category to be the default one. And find out which is the optimal wa...

Dec 6, 2025 · 2 min read · sethphat.dev  
Read the article

## Written by

[Seth Chen](https://hashnode.com/@sethphat)

@sethphat · Desire Grand Prix

  
[View profile](https://hashnode.com/@sethphat)

Seth Phat Geek Blog

develops awesome software, contributes to OSS, writes tech tips, and loves Vietnamese milk coffee!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
