Minor optimization for sqltyped version

No need to do reads using 'withTransaction'.