code: func SqTableColumns(db models.XODB, schema string, table string) ([]*models.Column, error) {
  	var err error
  
  	// grab
  	rows, err := models.SqTableColumns(db, table)
  	if err != nil {
  		return nil, err
  	}
  
  	// fix columns
  	var cols []*models.Column
  	for _, row := range rows {
  		cols = append(cols, &models.Column{
  			FieldOrdinal: row.FieldOrdinal,
  			ColumnName:   row.ColumnName,
  			DataType:     row.DataType,
  			NotNull:      row.NotNull,
  			DefaultValue: row.DefaultValue,
  			IsPrimaryKey: row.PkColIndex != 0,
  		})
  	}
  
  	return cols, nil
  }
docs: // SqTableColumns returns the sqlite table column info.