1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest [Suggestion] XQL

Discussion in 'Closed Suggestions' started by Brandon_R, Aug 29, 2010.

  1. Brandon_R

    Brandon_R Guest

    I'm suggesting the devs add support for a xenforo query language [XQL] kinda like how JIRA does it.

    In the search if someone inputs an XQL like

    SELECT username FROM members WHERE memberId = 1


    SELECT * FROM posts WHERE postContent = %tag%

    and it would return a list of returns, of course the tables search-able should be indexes only.
  2. Erik

    Erik Well-Known Member

    Ewww, no.

    You're thinking like a developer. 99% of users would never use something like this. No way in hell are they going to learn SQL to use the search system. Something simple like how Google does it would be much better

    Something like:
    keyword member:Eriksrocks or
    foo bar member:Eriksrocks tags:Google,XenForo,Facebook

    Sorry, but the idea of SQL in search queries just makes me want to cringe. The only place this would be useful would be for modifications, in which case you can just use standard SQL. :)
    Enigma and Walter like this.
  3. Shamil

    Shamil Well-Known Member

    I really can't see this being in the core.
  4. RickM

    RickM Well-Known Member

    It would be pretty stuid to expect members to effectively learn SQL (or any language system) to be able to perform something as simple as a search.

    -1 from me.

    (sorry...not ranting at you, but you need to see it from a novice point of view)
  5. Brandon_R

    Brandon_R Guest

    I was thinking like a developer when i suggested it. :D
    Eriksrocks likes this.
  6. Rob

    Rob Well-Known Member

    Were you down the pub at the time? :)

    I dont see how from a 'developer' perspective how you can (or would want to) simplify SQL further. Besides, surely an abstraction layer on top of regular SQL would be unnecessary overhead?
  7. Brandon_R

    Brandon_R Guest

    Try asking Rick or Erik, they know more than me.
  8. Erik

    Erik Well-Known Member

    Well, I can see how this could be useful if you wanted to provide SQL-like functionality while restricting what can be queried, retrieved, etc. Essentially if you wanted to limit the SQL functionality. Though, for the reasons I mentioned above, it's not that useful for search. :) And yes, it would add extra overhead. :)

Share This Page