local sql working with neaby and all api