Expand how to use data types in queries and [] form.

Add some documentation around how to use the `[]` prefix on database types.