Type alias TablesInsert<PublicTableNameOrOptions, TableName>

TablesInsert<PublicTableNameOrOptions, TableName>: PublicTableNameOrOptions extends {
        schema: keyof Database;
    }
    ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
            Insert: infer I;
        }
        ? I
        : never
    : PublicTableNameOrOptions extends keyof PublicSchema["Tables"]
        ? PublicSchema["Tables"][PublicTableNameOrOptions] extends {
                Insert: infer I;
            }
            ? I
            : never
        : never

Type Parameters

Generated using TypeDoc