Hi guys!
Is there any way to create Insert statement with SELECT statement inside it?
My use case - users have projects and each project has ID, but ID needs to
be unique in the scope of the user.
Example:
{ id: 1, user_id: 1, project_custom_id: 1 }
{ id: 2, user_id: 2, project_custom_id: 1 }
{ id: 3, user_id: 1, project_custom_id: 2 }
It is possible to do this insert query with select value for
project_custom_id column.
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.