ISelect Class
Exposes API's to get tuples from table based on information provided.
Item Index
Methods
and
                                            
                                                    - 
                                                                    
column 
Used to specify AND condition between where clause.
Parameters:
- 
                                                                    
columnStringName of column on which condition need to be specified.
 
Returns:
ISelectClause Interface.
ascendingOrderBy
                                            
                                                    - 
                                                                    
columns 
Used to specify ORDER BY ASC keyword to sort the result-set in ascending order.
Parameters:
- 
                                                                    
columnsStringName of columns which need to be sorted.
 
Returns:
ISelect Interface.
columns
                                            
                                                    - 
                                                                    
column 
Used to provide name of columns only for which data will be fetched.
Parameters:
- 
                                                                    
columnArrayName of columns.
 
Returns:
ISelect Interface.
descendingOrderBy
                                            
                                                    - 
                                                                    
columns 
Used to specify ORDER BY DESC keyword to sort the result-set in descending order.
Parameters:
- 
                                                                    
columnsStringName of columns which need to be sorted.
 
Returns:
ISelect Interface.
execute
                                            
                                                    ()
                                            
                                                    
                                                        Object
                                                    
                                            
                                            
                                            
                                            
                                            
                                            
                                            
                                                
                                            
                                                Used to get tuples, this method should be called in last to get tuples from table.
Returns:
Return array of model objects.
executeAsync
                                            
                                                    - 
                                                                    
callback 
Used to get tuples asynchronous, this method should be called in last to get tuples from table.
Parameters:
- 
                                                                    
callbackCallbackRequest Callback
 
groupBy
                                            
                                                    - 
                                                                    
columns 
Used to specify GROUP BY statement in conjunction with the aggregate functions to group the result-set by one or more columns.
Parameters:
- 
                                                                    
columnsArrayName of columns.
 
Returns:
ISelect Interface.
having
                                            
                                                    - 
                                                                    
column 
Used to specify HAVING clause to SQL because the WHERE keyword could not be used with aggregate functions.
Parameters:
- 
                                                                    
columnStringName of column on which condition need to be applied.
 
Returns:
ISelectClause Interface.
havingClause
                                            
                                                    - 
                                                                    
havingClause 
Used to provide manually created Where clause, instead of using API's.
Parameters:
- 
                                                                    
havingClauseStringWhere clause.
 
Returns:
ISelect Interface.
limit
                                            
                                                    - 
                                                                    
limit 
Used to specify the range of data need to fetch from table.
Parameters:
- 
                                                                    
limitStringLIMIT of data.
 
Returns:
ISelect Interface.
or
                                            
                                                    - 
                                                                    
column 
Used to specify OR condition between where clause.
Parameters:
- 
                                                                    
columnStringName of column on which condition need to be specified.
 
Returns:
ISelectClause Interface.
orderBy
                                            
                                                    - 
                                                                    
columns 
Used to specify ORDER BY keyword to sort the result-set.
Parameters:
- 
                                                                    
columnsStringName of columns which need to be sorted.
 
Returns:
ISelect Interface.
where
                                            
                                                    - 
                                                                    
column 
Column name of which condition will be specified.
Parameters:
- 
                                                                    
columnStringName of column.
 
Returns:
ISelectClause Interface.
            Siminov Hybrid