Solution:
Toolset follows the WordPress standards and it does stores the custom fields values you created using Toolset Types plugin to the postmeta table.
Solution:
User wants to order the posts based on custom field. He has added the default value for custom field but adding default value does not reflect to database as it will be only get saved when you save/update the post.
I have a custom post type called "Tax Sales" with a custom field called "Tax Sales Date" (it's a date field). I would like to query all posts from that custom post type with a tax sale date that is older than today and from the current year.
Solution:
You can follow WP document to setup your custom PHP codes: