Changeset 491

Show
Ignore:
Timestamp:
06/10/08 00:17:20 (5 months ago)
Author:
sekimura
Message:

added a doc for add_index_hint()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/Data/ObjectDriver/SQL.pm

    r481 r491  
    568568be any of the structures described above for the C<add_where()> method. 
    569569 
     570=head2 C<$sql-E<gt>add_index_hint($table, \@hints)> 
     571 
     572Addes the index hint into a C<SELECT> query. The structure for the set of  
     573C<\@hints> are arrayref of hashrefs containing these members: 
     574 
     575=over 4 
     576 
     577=item * C<type> (scalar) 
     578 
     579The name of the type. "USE", "IGNORE or "FORCE". 
     580 
     581=item * C<list> (arrayref) 
     582 
     583The list of name of indexes which to use. 
     584 
     585=back 
     586 
    570587=head2 C<$sql-E<gt>as_sql()> 
    571588