MCPcopy Create free account
hub / github.com/fast-sql/FastSQL / queryOne

Method queryOne

src/main/java/top/fastsql/SQL.java:827–839  ·  view source on GitHub ↗

查询单行结果封装为一个对象 @param returnClassType Class<T>类型 T 可以为 String/Integer/Long/Short/BigDecimal/BigInteger/Float/Double/Boolean/Date或者任意POJO @return 查询结果

(Class<T> returnClassType)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

queryFirstMethod · 0.95
queryIntegerMethod · 0.95
queryLongMethod · 0.95
queryStringMethod · 0.95
queryDateMethod · 0.95
queryLocalDateMethod · 0.95
queryLocalDateTimeMethod · 0.95
selectOneByIdMethod · 0.80
selectOneByEntityMethod · 0.80

Calls 5

checkNullMethod · 0.95
queryLocalDateMethod · 0.95
queryLocalDateTimeMethod · 0.95
getRowMapperMethod · 0.95
useTemplateQueryOneMethod · 0.95

Tested by

no test coverage detected