I think you are confusing things here.
M.2 is a slot type. M.2 slots can be connected to a PCI-Express bus or a SATA bus; PCI-E is much faster than SATA.
If you have a SATA-only M.2 slot, you will not see much difference in performance compared to a full-size SATA SSD.