Type alias Tables<PublicTableNameOrOptions, TableName>

Tables<PublicTableNameOrOptions, TableName>: PublicTableNameOrOptions extends {
        schema: keyof Database;
    }
    ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends {
            Row: infer R;
        }
        ? R
        : never
    : PublicTableNameOrOptions extends keyof (PublicSchema["Tables"] & PublicSchema["Views"])
        ? (PublicSchema["Tables"] & PublicSchema["Views"])[PublicTableNameOrOptions] extends {
                Row: infer R;
            }
            ? R
            : never
        : never

Type Parameters

Generated using TypeDoc