-
#123
Replies: 1 comment 1 reply
-
can ignore, think ive figured it out |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tried following the documentation but couldn't get the syntax right for either the rules file or programmatically. in this example im trying to create an array of messages (specifically using an array and not a collection)
await db.schema.set('users/$uid',{
journal: {
id: 'string',
messages:{
uid: "string",
msg: "string"
}[]
}
})
what's the right way to do this? also tried it as a string
messages:'{
uid: "string",
msg: "string"
}[]'
Beta Was this translation helpful? Give feedback.
All reactions