The returned boolean, new_or_stale, can be used to deduce if a new session was started. This means that a new row was inserted (no previous session) or the updated_at is older than stale interval.
(ctx context.Context, arg UpsertWorkspaceAppAuditSessionParams)
| 1440 | // was started. This means that a new row was inserted (no previous session) or |
| 1441 | // the updated_at is older than stale interval. |
| 1442 | UpsertWorkspaceAppAuditSession(ctx context.Context, arg UpsertWorkspaceAppAuditSessionParams) (bool, error) |
| 1443 | UsageEventExistsByID(ctx context.Context, id string) (bool, error) |
| 1444 | ValidateGroupIDs(ctx context.Context, groupIds []uuid.UUID) (ValidateGroupIDsRow, error) |
| 1445 | ValidateUserIDs(ctx context.Context, userIds []uuid.UUID) (ValidateUserIDsRow, error) |
no outgoing calls