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

  • Home
  • SEARCH
  • 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 5942261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:13:41+00:00 2026-05-22T16:13:41+00:00

Now, I’m thinking about to change pyramid from PHP. I’m using advance sql query

  • 0

Now, I’m thinking about to change pyramid from PHP. I’m using advance
sql query for searching

Current mysql is using

SELECT * , IF( `Word` = 'sim', 1, IF( `Word` LIKE 'sim%', 2,
IF( `Word` LIKE '%sim', 4, 3 ) ) ) AS `sort` FROM `dblist` WHERE
`Word` LIKE '%sim%' ORDER BY `sort` , `Word`;

When I read pyramid, there is no code to run sql. Pyramid is using
SQLAlchemy. I am not familier with ORM. Can ORM run sql ? How to run
above query in pyramid ? My current database is using MySQL.

  • 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-22T16:13:42+00:00Added an answer on May 22, 2026 at 4:13 pm

    Your claim is wrong!

    Pyramid has no concept of backend storage and is open to every possible backend storage.
    There are add-ons supporting a RDBMS-based persistence e.g. through SQLAlchemy.

    e.g. there is

    http://pypi.python.org/pypi/khufu_sqlalchemy/0.5.1

    for integration of SQLAlchemy with Pyramid

    In general:

    http://docs.pylonsproject.org/docs/pyramid.html

    or also: follow the pylons-discuss mailing list.

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

Sidebar

Related Questions

Now that LINQ to SQL is a little more mature, I'd like to know
now i need to insert some data from the sqlserver into a word,i know
Now that everyone is talking about MVC, I notice that the business rules are
this is what i have right now Drawing an RSS feed into the php,
Now this is tricky. I am trying to do WAP testing using firefox and
Now this might be a dumb question, but I'm still new to using Visual
Now I am using the devise gem, and after successful authorization it redirects user
now here is a problem with me that how can I enter the current
Now I have finally managed to create a fullscreen window via http://cocoadevcentral.com/articles/000028.php Brilliant tutorial.
Now i tried some other ways.... <?php /* Start popular Post */ ?> <li>

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.