These are chat archives for Automattic/mongoose

19th
Aug 2016
zeeshanhameednxb
@zeeshanhameednxb
Aug 19 2016 06:16
@vladotesanovic I am using mongodb with laravel/lumen. in migration i have defined id auto increment. but mongo shows me _id with 16 digits
Vlado Tesanovic
@vladotesanovic
Aug 19 2016 06:17
@zeeshanhameednxb i don't know how laravel/lumen migrations works, but if you want to store interger in _id field, MongoDB will allow you that
but note, that will not be autoIncremental
zeeshanhameednxb
@zeeshanhameednxb
Aug 19 2016 06:18
@vladotesanovic but if i want to integer with auto increment. just like mysql?
Vlado Tesanovic
@vladotesanovic
Aug 19 2016 10:46