Hi guys, I'm looking to do an autoincrement on a f...
# prisma-whats-new
k
Hi guys, I'm looking to do an autoincrement on a field. Any ideas?
w
@karloluis what is the scope of the autoincrement you want to do?
across all nodes in a model, or just within a specific node?
k
Just be able to add and modify a counter. A list of icons that I want to order according to the counter, when creating a new icon I'd want for it to autoinsert a value. A default would not work as it would not be unique.
w
I was thinking you might be able to use the new functions>request pipeline functionality to do that
k
I'll take a look soom.