Use this hook predicate to actually record database attribute value changes.
You are free to let this predicate fail or raise an exception - the
database layer will ignore both of these eventualities.
- Arguments:
-
| Schema | - <atom> |
| TableName | - <atom> (lower case) |
| AttributeName | - <atom> (lower case) |
| PrimaryKeyAttributeName | - <atom> (lower case) |
| PrimaryKeyValue | - <int> |
| ApplicationValueBefore | - <domain dependent> |
| ApplicationValueAfter | - <domain dependent> |
| AccessToken | - <atom> |
| UserId | - <atom> |
| UserIpAddress | - <atom> |
| TransactionId | - <atom> |
| TransactionTimestamp | - <t7/7> |
| ThreadId | - <atom> |
| Spid | - <int> |
| Connection | - <opaque> |
| Goal | - <goal term> The goal passed to pri_db_trans |