Incremental sequence ID

Hello All

i have a Q

can we do or there is a way of doing a incremental ID for a Doc with letters and numbers
for example i start with AAAA0001 and next AAAA0002 once i get to AAAA9999 it goes to next letter AAAB0001 and so on

this is possible within Couchbase .

thank you

Binary Collections provides APIs for incrementing integers. Your application can format the integers as desired. There is no standard for a sequence combining letters and numbers (in your example four letters and four digits). Likely because there are endless combinations m letters and n digits.