Skip to content

views loader (visual query builder) #161

Description

@naturallymitchell

instead of manual lua code, ie(??):
https://github.com/foundpatterns/contentdb/blob/66ec7a04ca4b194b35e532ae4f99774c8da110fd/read_document.lua
https://github.com/foundpatterns/contentdb/blob/66ec7a04ca4b194b35e532ae4f99774c8da110fd/walk_documents.lua

go from:
https://github.com/foundpatterns/gists/blob/master/content.yaml
see also, nchah/freebase-mql: A review of the deprecated Freebase knowledge base and Metaweb Query Language (MQL). A brief comparison of MQL and GraphQL.

or:
basic-node-setup_0

to, roughly, in Speakeasy syntax:

SELECT 
    node.title AS node_title, 
    node.nid AS nid, 
    node.created AS node_created
FROM 
    {node} node
WHERE 
    (( (node.status = '1') AND (node.type IN  ('article')) ))
ORDER BY 
    node_created DESC
LIMIT 10 OFFSET 0

(copied from https://evolvingweb.ca/blog/developing-views-part-i-describing-your-data-views )


will be useful when making a [BaaS](https://en.wikipedia.org/wiki/Mobile_backend_as_a_service) like:
* https://backendless.com/platform/backend-as-a-service/
* https://www.devart.com/dbforge/oracle/studio/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions