craftsmancoding / query Goto Github PK
View Code? Open in Web Editor NEWQuery offers a Snippet interface for querying any database collection, e.g. as an alternative to getResources
Query offers a Snippet interface for querying any database collection, e.g. as an alternative to getResources
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.
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
This would be helpful...
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?
Screencast wanted...
Screencast again...
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.