Sync data sqlite

Hello, how i can sync data from my rest service in php/mysql in ionic using sqlite?