ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the database.
()
| 5591 | // ID returns the ID value in the mutation. Note that the ID is only available |
| 5592 | // if it was provided to the builder or after it was returned from the database. |
| 5593 | func (m *IntegrationMutation) ID() (id uuid.UUID, exists bool) { |
| 5594 | if m.id == nil { |
| 5595 | return |
| 5596 | } |
| 5597 | return *m.id, true |
| 5598 | } |
| 5599 | |
| 5600 | // IDs queries the database and returns the entity ids that match the mutation's predicate. |
| 5601 | // That means, if the mutation is applied within a transaction with an isolation level such |