class BookQuery
- BookQuery
 - Book::BaseQuery
 - Reference
 - Object
 
Defined in:
queries/book_query.crInstance Method Summary
Instance methods inherited from class Book::BaseQuery
  
  
    
      author_id(value)author_id author_id, clone clone, created_at(value)
created_at created_at, find(id) find, full_join_author full_join_author, id(value)
id id, inner_join_author inner_join_author, join_author join_author, left_join_author left_join_author, preload_author(preload_query : Author::BaseQuery)
preload_author
preload_author(&) preload_author, right_join_author right_join_author, title(value)
title title, update(id : Int64 | Avram::Nothing = Avram::Nothing.new, created_at : Time | Avram::Nothing = Avram::Nothing.new, updated_at : Time | Avram::Nothing = Avram::Nothing.new, title : String | Avram::Nothing = Avram::Nothing.new, year : Int16 | Avram::Nothing = Avram::Nothing.new, author_id : Author::PrimaryKeyType | Avram::Nothing = Avram::Nothing.new) : Int64 update, updated_at(value)
updated_at updated_at, where_author(assoc_query : Author::BaseQuery, auto_inner_join : Bool = true) where_author, year(value)
year year
Constructor methods inherited from class Book::BaseQuery
  
  
    
      all : self
    all
    
  
    
  Class methods inherited from class Book::BaseQuery
  
  
    
      any? : Bool
    any?, 
    
  
    
      find(id)
    find, 
    
  
    
      first : T
    first, 
    
  
    
      first? : T | Nil
    first?, 
    
  
    
      last : T
    last, 
    
  
    
      last? : T | Nil
    last?, 
    
  
    
      new_with_existing_query(query : Avram::QueryBuilder)
    new_with_existing_query, 
    
  
    
      none? : Bool
    none?, 
    
  
    
      preload_author(records : Enumerable, preload_query)preload_author(record, preload_query)
preload_author(records : Enumerable)
preload_author(record)
preload_author(records : Enumerable, &)
preload_author(record, &) preload_author, truncate(*, cascade : Bool = false) truncate