I already created database and table. And I inserted some data and try to select data from the table. But I get respond length of data that I’ve inserted but not value from the table.How can I get it??
Here is my code.
when i tried your code got this error can you pls tell what is wrong
ERROR TypeError: Cannot read property ‘then’ of undefined
at LoginPage.push…/src/app/pages/login/login.page.ts.LoginPage.onClickSubmit (login.page.ts:36)
at Object.eval [as handleEvent] (LoginPage.html:13)
at handleEvent (core.js:23097)
at callWithDebugContext (core.js:24167)
at Object.debugHandleEvent [as handleEvent] (core.js:23894)
at dispatchEvent (core.js:20546)
at core.js:22036
at SafeSubscriber.schedulerFn [as _next] (core.js:13517)
at SafeSubscriber.push…/node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:196)
at SafeSubscriber.push…/node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:134)