Add note about data changes
This commit is contained in:
parent
f17f07537e
commit
7a54ab7710
6
Notes.md
6
Notes.md
|
@ -54,3 +54,9 @@ I think we should have empty nodes which are just used to group dependencies,
|
|||
e.g. something like `table_x_complete` which depends on `table_x` and all its
|
||||
columns, contraints, indexes, data, etc. so that other nodes can just depend on
|
||||
`table_x_complete` and don't have to bother about the details.
|
||||
|
||||
I don't have a good ideas for data changes yet. For example I may want
|
||||
to change the value of a (non-PK) column for one or more rows. Easy in
|
||||
SQL, not easy in a generic way without reinventing SQL.
|
||||
Idea for the simple case: data_update key={} new={}.
|
||||
Maybe allow arbitrary SQL for the complex case. But must be idempotent.
|
||||
|
|
Loading…
Reference in New Issue