- type: query
resource: mysql
sqlType: select
sql: >
select *
from orders
where (length(:status) = 0 or status = :status)
params:
- key: status
label: 상태
dropdown:
- ''
- in_bucket
- paid
- in_delivery
- delivered
- confirmed