Add list helper.
Fix inversed conditional in to_sql.
Add list view.