GithubHelp home page GithubHelp logo

craftsmancoding / query Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 472 KB

Query offers a Snippet interface for querying any database collection, e.g. as an alternative to getResources

PHP 100.00%

query's People

Contributors

fireproofsocks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

query's Issues

Install didn't work correctly

First off, this snippet looks fantastic. I hope to be able to use it on all my sites. Great work.

I installed the package from package management, tried to run it and got this error:

[2015-05-14 15:06:09] (ERROR @ /core/cache/includes/elements/modsnippet/39.include.cache.php : 115) PHP warning: require_once(/core/components/query/vendor/autoload.php): failed to open stream: No such file or directory

I looked for the autoload.php file and it did not exist.

Thanks for your help.

DISCTINCT filter with this extra?

Is there way to use the filter DISTINCT of mysql with this extra?
Im asking because I wanna create a list of unique tvs of nearly 200 resources in a directory, I hope this can be do it with this extra.

sry, about the typo :P

Snippets not showing any results

Hi, I wanted to try out your Query extra, but I'm stuck already on my first attempt.. Installed it through package manager (MODX 2.4.2), but when loading the snippets I get no results, whatever I try.

[[!Query]] simply comes up blank (tried various examples from the docs too), but [[!queryResources? &template=1]] returns "The view file does not exist."

Am I missing something here?

Query multiple classes at once?

Is it possible to query multiple classes at once? I have a two independent custom classes I would like to search on without having to have the user select what to search. E.g. can I pass a list or array of classes to the snippet? That would be uber.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.