Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ormaハマりポイント *v2.5.2

Moyuru Aizawa
September 28, 2016

Ormaハマりポイント *v2.5.2

TwitterID変えました。@lvla0805 -> @MoyuruAizawa

Moyuru Aizawa

September 28, 2016
Tweet

More Decks by Moyuru Aizawa

Other Decks in Technology

Transcript

  1. ֎෦Ωʔ੍໿෇͖ΧϥϜͷܕ @Table
 class Book {
 
 @PrimaryKey
 public long id;


    
 @Column
 public String title;
 
 @Column
 public Publisher publisher;
 
 }
  2. ࢓༷͸*/5&(&3 @Table
 class Book {
 
 @PrimaryKey
 public long id;


    
 @Column
 public String title;
 
 @Column
 public Publisher publisher;
 
 } `publisher` INTEGER NOT NULL
  3. ࣮ࡍ͸#-0#ʹ @Table
 class Book {
 
 @PrimaryKey
 public long id;


    
 @Column
 public String title;
 
 @Column
 public Publisher publisher;
 
 } `publisher` BLOB NOT NULL
  4. ରࡦ @Table
 class Book {
 
 @PrimaryKey
 public long id;


    
 @Column
 public String title;
 
 @Column(storageType = "INTEGER")
 public Publisher publisher;
 
 } storageTypeΛ໌ࣔతʹࢦఆ