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.
()
| 10967 | // ID returns the ID value in the mutation. Note that the ID is only available |
| 10968 | // if it was provided to the builder or after it was returned from the database. |
| 10969 | func (m *ProjectMutation) ID() (id uuid.UUID, exists bool) { |
| 10970 | if m.id == nil { |
| 10971 | return |
| 10972 | } |
| 10973 | return *m.id, true |
| 10974 | } |
| 10975 | |
| 10976 | // IDs queries the database and returns the entity ids that match the mutation's predicate. |
| 10977 | // That means, if the mutation is applied within a transaction with an isolation level such |