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
@alias is great for options, it would be cool to have them supported
Example:
---@aliasSqliteActions---| '"no action"' : when a parent key is modified or deleted from the database, no special action is taken.---| '"restrict"' : prohibites from deleting (for ON DELETE RESTRICT) or modifying (for ON UPDATE RESTRICT) a parent key when there exists one or more child keys mapped to it.---| '"null"' : when a parent key is deleted or modified, the child key columns of all rows in the child table that mapped to the parent key are set to contain SQL NULL values.---| '"default"' : "default" actions are similar to "null", except that each of the child key columns is set to contain the column's default value instead of NULL.---| '"CASCADE"' : propagates the delete or update operation on the parent key to each dependent child key.
In action
The text was updated successfully, but these errors were encountered:
SqliteActions *SqliteActions*
what is this enum about
Variants: ~
{no action} (string) when a parent key is modified or deleted from the database,
no special action is taken.
{restrict} (string) prohibites from deleting/modifying a parent key when a child
key is mapped to it.
{null} (string) when a parent key is deleted/modified, the child key that
mapped to the parent key gets set to null.
{default} (string) similar to "null", except that sets to the column's default
value instead of NULL.
{cascade} (string) propagates the delete or update operation on the parent key
to each dependent child key.
surely the string parts is inferred from that '"()"'
@alias
is great for options, it would be cool to have them supportedExample:
In action
The text was updated successfully, but these errors were encountered: