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 569097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:15:31+00:00 2026-05-13T13:15:31+00:00

I am building a query in a textarea with different conditions selected from the

  • 0

I am building a query in a textarea with different conditions selected from the html controls. Also users are open to do modification to it.

Client side:
For the below list of condition:

a(1, 3) > 20
b(4, 5) < 90
c(3, 0) = 80

I form a query:

a(1, 3) > 20 and b(4, 5) < 90 or c(3, 0) = 80

On the server side this has to be parsed, lookup and call each function with arguments. (a, b and c are the functions)

I want to check for the query syntax (not sure at the client side or the server side) before processing it.
For example if the user enters incorrect function / arguments or they use incorrect operators.

Appreciate your suggestions and feedback.

PS: Using python

  • 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-13T13:15:31+00:00Added an answer on May 13, 2026 at 1:15 pm

    PLY has a simple expression example that will get you most of the way there.

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

Sidebar

Related Questions

i am building query in kohana framework which looks like this: DB::select('users.email')->from('users', 'roles_users')-> where('users.id',
I need assistance building this query where i need to select different values from
I am building a query to gather data from multiple tables. I want to
In sql 2005, instead of building a query from dateparts year, month and date,
I'm thinking of building query from these 2 tables (on SQL Server 2008). I
I have a controller that is building a query from Linq to Sql to
A common task when calling web resources from a code is building a query
I'm building a query that needs data from 5 tables. I've been told by
I'm building a query using a html file converted to a text file as
I am building a query covering several WHERE AND conditions. Here is an example:

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.