BrickTracker/bricktracker/sql/set/base/light.sql

19 lines
306 B
MySQL
Raw Normal View History

SELECT
"bricktracker_sets"."id",
"bricktracker_sets"."rebrickable_set" AS "set"
FROM "bricktracker_sets"
{% block join %}{% endblock %}
{% block where %}{% endblock %}
{% block group %}{% endblock %}
{% if order %}
ORDER BY {{ order }}
{% endif %}
{% if limit %}
LIMIT {{ limit }}
{% endif %}