Package

net.liftweb

squerylrecord

Permalink

package squerylrecord

Visibility
  1. Public
  2. All

Type Members

  1. trait CRUDify[K, T <: Record[T] with KeyedEntity[K]] extends Crudify

    Permalink
  2. trait KeyedRecord[K] extends IndirectKeyedEntity[K, MandatoryTypedField[K]]

    Permalink

    Trait to mix into records that have a primary key.

    Trait to mix into records that have a primary key. The primary key field must be named "idField", though the name of the database column can be changed from that using @Column(name="id") or similar.

  3. class RecordMetaDataFactory extends FieldMetaDataFactory

    Permalink

    FieldMetaDataFactory that allows Squeryl to use Records as model objects.

  4. trait RecordTypeMode extends PrimitiveTypeMode

    Permalink
  5. trait SquerylRecordField extends AnyRef

    Permalink

    This trait has to be extended for new fields that are derived from net.liftweb.record.BaseField or TypedField and should be used in squeryl records.

    This trait has to be extended for new fields that are derived from net.liftweb.record.BaseField or TypedField and should be used in squeryl records.

    This is necessary because the class of the field's value in the database has to be known for squeryl, and this information is not directly available in BaseField or TypedField.

    For all standard fields in record, there is a special handling in squeryl-record. That means, for example, that you can create a subclass of StringTypedField without the need to extend this trait.

  6. trait SquerylRecordNonNumericalExpression[T] extends AnyRef

    Permalink

    Record-Specific extensions to non-numerical Squeryl Expressions.

  7. trait SquerylRecordNumericalExpression[T] extends AnyRef

    Permalink

    Record-Specific extensions to numerical Squeryl Expressions.

Value Members

  1. object RecordTypeMode extends RecordTypeMode

    Permalink

    All methods from this object should be imported when creating queries using the Squeryl DSL with lift records.

    All methods from this object should be imported when creating queries using the Squeryl DSL with lift records.

    It provides implicit conversions for all record field types to the underlying primitive types. Thus, you can use record fields in the Squeryl DSL as if they were primitive types.

  2. object SquerylRecord extends Loggable

    Permalink

    Object containing initialization logic for the Squeryl/Record integration

Ungrouped