Talk:HowTo create a basic CRUD

From Lift

Jump to: navigation, search

I have many notes on this page. I should be able to get it fleshed out within a day, but if there are any directions I am not following, please let me know. This includes not just any information I am flat wrong on, but if there is another style people would like to see for conveying this information. This will constitute my first major contributions to any wiki site, so it is definitely a learning experience for me. -Josh Berry

Things to cover

(For all of these, is there a way to link directly to the source for where they are stored? Also, I can just as easily begin adding documentation to the actual classes, such that this page could instead be swallowed into the scaladocs of these files.)

Main traits for connecting to the database and getting/retrieving data.

 Mapper
 MetaMapper

Main classes for mapping fields:

 MappedBinary
 MappedField
 MappedPostalCode
 MappedBoolean
 MappedInt
 MappedString
 MappedDateTime
 MappedLong
 MappedTextarea
 MappedEmail
 MappedPassword
 MappedUniqueId

All query items available in MetaMapper. Not sure if I need to worry about the distinction in the case classes and the objects.

 OrderBy
 ByList
 BySql
 MaxRows
 StartAt
 By
 ByRef
 By_<
 ...
Personal tools