How do I generate a unique id like INV0001 using e...
# exposed
j
How do I generate a unique id like INV0001 using exposed?
t
Where do you want to generate the unique value in your code or on database side?
j
In the database side
t
Then you'll need to write the custom database function, I guess and use it as a default value for a column.
j
What about in the code? How can I ensure uniqueness