code: func SqTableColumns(db XODB, table string) ([]*SqColumn, error) {
  	var err error
  
  	// sql query
  	var sqlstr = `PRAGMA table_info(` + table + `)`
  
  	// run query
  	XOLog(sqlstr)
  	q, err := db.Query(sqlstr, table)
  	if err != nil {
  		return nil, err
  	}
  	defer q.Close()
  
  	// load results
  	res := []*SqColumn{}
  	for q.Next() {
  		sc := SqColumn{}
  
  		// scan
  		err = q.Scan(&sc.FieldOrdinal, &sc.ColumnName, &sc.DataType, &sc.NotNull, &sc.DefaultValue, &sc.PkColIndex)
  		if err != nil {
  			return nil, err
  		}
  
  		res = append(res, &sc)
  	}
  
  	return res, nil
  }
docs: // SqTableColumns runs a custom query, returning results as SqColumn.