To followup on @Variount 's question. Is the ORM goal to be something like:
    
    
    type
      Pet = object {. tableName: "pets" .}
        name: string
        age: int {. fieldName: "age_years" .}
    
    const data: SqlQuery = sqls:
      select Pet.*
      `from` Pet
      where Peg.age = 4
    
    
    Run

Reply via email to