Select 1
Definition
The select1 method allows you to add the SELECT clause with the number 1 as value to the query.
Available methods
1. select1()
- It does not receive any parameters.
Method hierarchy
The select1 method can be used right after the following methods or objects:
and the subsequent methods that can be called are:
select,from,where,groupBy,window,except,exceptAll,intersect,intersectAll,union,unionAll,orderBy,limit,offset,fetch,single,multiple
Example
Java code:
k
.select1()
.from(APP_USER)
.multiple();
SQL generated:
SELECT ?1
FROM app_user au
Parameters:
- ?1: 1