UPDATE link SET accesses = accesses + 1, last_access = now() WHERE id = $(id)
RETURNING *,
	extract(epoch from created) AS created,
	extract(epoch from last_access) AS last_access,
	extract(epoch from expires) AS expires
