1. A method of making data available from a database, including: specifying a query function having a query function name, wherein the query function includes a structure and a member; determining the structure and the member included in the query function, wherein the query function has a query function name and includes the structure and the member; creating an index for the structure on the member; and compiling the query function to be available to a user by invoking the query function name without the user having to specify the structure and the member.