You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason it's like it completely ignores the default attribute. It doesn't seem to be executed even if i return plain text or try generating a timestamp.
Any ideas?
The text was updated successfully, but these errors were encountered:
On Thu, Mar 11, 2021, 3:09 AM James Zammit ***@***.***> wrote:
Hi,
I've been trying to generate an auto id in a model by using the built in
default function as below.
id: { type: 'uuid', default: {'$db_function': 'uuid()'} },
For some reason it's like it completely ignores the default attribute. It
doesn't seem to be executed even if i return plain text or try generating a
timestamp.
Any ideas?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#20>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABB5E3JPEPJMKERDILTBUQ3TDAJ4NANCNFSM4Y7HOK7A>
.
Hi,
I've been trying to generate an auto id in a schema model by using the built in default function as below.
id: { type: 'uuid', default: {'$db_function': 'uuid()'} },
For some reason it's like it completely ignores the default attribute. It doesn't seem to be executed even if i return plain text or try generating a timestamp.
Any ideas?
The text was updated successfully, but these errors were encountered: