Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 665813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:44:59+00:00 2026-05-13T23:44:59+00:00

I have started to try out noSQL databases now and are currently testing out

  • 0

I have started to try out noSQL databases now and are currently testing out couchDB. Seems like a good solution, but I really get some headache when I follow available examples on how to create views (queries) to select documents from a database and sort them.

Everything I can find is regarding JavaScript and it would be great to take part of some examples for PHP since that is the language we will use.

So, how do I create views using PHP for couchDB?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:44:59+00:00Added an answer on May 13, 2026 at 11:44 pm

    As far as I know, the equivalent of the SQL language that would be used for a relationnal database is, for CouchDB, Javascript.

    So, if you want to create some “query”, or “view”, you have to do it in that language : it’s the one that’s understood by CouchDb.

    PHP and CouchDb are totally independant : the only thing is that :

    • PHP can send requests to CouchDb
    • and get results

    But what happens on the CouchDb side is independant of your PHP script — and there is no PHP on the CouchDb side.

    The only way to filter results using PHP would be to :

    • Request more data from CouchDb than you need
    • And throw away, from PHP, what’s not needed

    But, obviously, that would not be an efficient solution…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have started learning perl and like to try out new things. I have
I have started to try out to use the new Search API, the demo
Hello I'm very new to OpenGlES and i have started to try to learn
I have started implementing Subscriptions into my app but I cannot get the API
I have started playing with UIProgressView in iOS5, but havent really had luck with
Few hours ago I have started to learn java socket comunication. Now I'm trying
I would like to get started with developing NFC apps for android. I have
I have just started studying Android, I have limited java knowledge but am semi
Hello I started trying to develop Android applications today, but I have a problem:
After reading a lot of interesting articles, I decided to try out Lisp. But,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.