All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalikejdbc.SelectDynamicMacro.scala Maven / Gradle / Ivy

The newest version!
package scalikejdbc

import scala.language.experimental.macros
import scalikejdbc.interpolation.SQLSyntax

trait SelectDynamicMacro[A] {

  /**
   * Returns [[scalikejdbc.interpolation.SQLSyntax]] value for the column which is referred by the field.
   */
  def selectDynamic(name: String): SQLSyntax =
    macro scalikejdbc.SQLInterpolationMacro.selectDynamic[A]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy