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
{
"film_id": 452
"title" : "The Matrix"
"year": 1999
}
Problem
During a dataset insert primary key have to be unique to avoid conflict with existing values. Also sequences have to be updated upper than the maximum primary key inserted to avoid future conflict.
Solution
Add sequence information in table.yaml and use it during lino push insert process.
Context
We have to insert the jsonobject in a table film
Problem
During a dataset insert primary key have to be unique to avoid conflict with existing values. Also sequences have to be updated upper than the maximum primary key inserted to avoid future conflict.
Solution
Add sequence information in
table.yaml
and use it duringlino push insert
process.If the
film_id
is omitted, lino use the value ofsequence_film_id.nextval
to feed the primary_key.Relation
If the primary key is a part of a relation
inserting the following JSON object
will produce the sql statements
The text was updated successfully, but these errors were encountered: