findById (finder/FinderFeatureWithId.scala)

scalikejdbc · scalikejdbc-orm/src/main/scala/scalikejdbc/orm/finder/FinderFeatureWithId.scala · Apache-2.0
database

ScalikeJDBC trait providing type-safe finder methods (findById, findAllByIds, pagination) with eager-loading support for ORM entities.

// Source: https://github.com/scalikejdbc/scalikejdbc | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package scalikejdbc.orm.finder

// Don't change this import
import scalikejdbc._
import scalikejdbc.orm.Pagination
import scalikejdbc.orm.associations.AssociationsFeature
import scalikejdbc.orm.associations.JoinsFeature
import scalikejdbc.orm.basic.AutoSessionFeature
import scalikejdbc.orm.basic.ConnectionPoolFeature
import scalikejdbc.orm.basic.IdFeature
import scalikejdbc.orm.basic.SQLSyntaxSupportBase
import scalikejdbc.orm.eagerloading.IncludesFeatureWithId
import scalikejdbc.orm.eagerloading.IncludesQueryRepository

/**
  * Provides #find something APIs.
  */
trait FinderFeat

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key