2025-01-17 11:03:00 +01:00
|
|
|
SELECT
|
2025-01-20 19:39:12 +01:00
|
|
|
"minifigures"."fig_num",
|
|
|
|
"minifigures"."set_num",
|
|
|
|
"minifigures"."name",
|
|
|
|
"minifigures"."quantity",
|
|
|
|
"minifigures"."set_img_url",
|
|
|
|
"minifigures"."u_id",
|
2025-01-17 11:03:00 +01:00
|
|
|
{% block total_missing %}
|
2025-01-20 19:39:12 +01:00
|
|
|
NULL AS "total_missing", -- dummy for order: total_missing
|
2025-01-17 11:03:00 +01:00
|
|
|
{% endblock %}
|
|
|
|
{% block total_quantity %}
|
2025-01-20 19:39:12 +01:00
|
|
|
NULL AS "total_quantity", -- dummy for order: total_quantity
|
2025-01-17 11:03:00 +01:00
|
|
|
{% endblock %}
|
|
|
|
{% block total_sets %}
|
2025-01-20 19:39:12 +01:00
|
|
|
NULL AS "total_sets" -- dummy for order: total_sets
|
2025-01-17 11:03:00 +01:00
|
|
|
{% endblock %}
|
2025-01-20 19:39:12 +01:00
|
|
|
FROM "minifigures"
|
2025-01-17 11:03:00 +01:00
|
|
|
|
|
|
|
{% block join %}{% endblock %}
|
|
|
|
|
|
|
|
{% block where %}{% endblock %}
|
|
|
|
|
|
|
|
{% block group %}{% endblock %}
|
|
|
|
|
|
|
|
{% if order %}
|
|
|
|
ORDER BY {{ order }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if limit %}
|
|
|
|
LIMIT {{ limit }}
|
|
|
|
{% endif %}
|