The best thing to do when creating a new record is to set the id to the
atom 'id' and let CB allocate a key for the record.



On 28 April 2015 at 16:27, Dmitry Polyanovsky <[email protected]>
wrote:

> As I may recall, id should be an number or uuid if you set it with
> id::uuid() in your model
>
> On Tue, Apr 28, 2015 at 12:53 AM, Mert Öztürk <[email protected]>
> wrote:
>
>> Hello,
>>
>> This happens when i want to save a record to mongodb. A new record is
>> created but doesnt save the value after id which is automatically generated
>> by mongodb and shows it as [].
>> Also i get the error : Error parsing Boss record id:
>> error:{badmatch,["dV52EVzNs27iOP"]}
>> Did this happen to anyone before?
>>
>> Thanks Mert
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "ChicagoBoss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at http://groups.google.com/group/chicagoboss.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/chicagoboss/d0260a36-cb9f-4796-ac02-59e8a9c99eff%40googlegroups.com
>> <https://groups.google.com/d/msgid/chicagoboss/d0260a36-cb9f-4796-ac02-59e8a9c99eff%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/CAF9GSxY63iazVD0T94XVSxwJ83wUQaZXDy3d5Z5TQ9Xo7%2BMdbg%40mail.gmail.com
> <https://groups.google.com/d/msgid/chicagoboss/CAF9GSxY63iazVD0T94XVSxwJ83wUQaZXDy3d5Z5TQ9Xo7%2BMdbg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CAKF5fiBpvk6EBtr-3EncJ0xKTH9YJT3DT6FMyCrpCq7vBRx7OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to