开发者

How do I search an object and make a list from it in my database in JavaScript? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 5 hours ago.

Improve this question

I have an object (data) which stores accounts in my JavaScript project and I would like to search it and make a list of 10 accounts from it. I want the list to state in the following format:

  1. Account username (data.username)

    Account password (data.password)

    Account First Name (data.firstName)

    Account Last Name (data.lastName )

    Account email (data.email)

    Account ssn (data.ssn)

    Account number (data.accountNumber)

    Account Type (data.accountType)

  2. Same Thing

My code so far is:

return ngpResource(baseUrl, {}, {
      /**
       * @ngdoc method
       * @name enrollment
       * @name updatePhone
       * @methodOf com.np.dcts.resourceSecurityApp.service:ngpSecurityEnrollmentResource
       * @methodOf com.np.dcts.resourceSecurityApp.service:ngpOtpResource
       * @param {object} data enrollment information to pass to the service call
       * @param {string} data.username user's username
       * @param {string} data.password user's password
       * @param {string} data.firstName user's first name
       * @param {string} data.lastName user's last name
       * @param {string} data.email user's email
       * @param {string} data.ssn user's ssn
       * @param {string} data.accountNumber user's account number
 开发者_StackOverflow中文版      * @param {string} data.accountType user's account type
       * @param {string=} data.phoneNumber phone number

Can someone help me format this for my firebase database?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜