code: func Bit(db XODB, v0 int64, v1 int, v2 int, v3 int, v4 uint8, v5 int, v6 bool) (uint8, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.bit($1, $2, $3, $4, $5, $6, $7)`
  
  	// run query
  	var ret uint8
  	XOLog(sqlstr, v0, v1, v2, v3, v4, v5, v6)
  	err = db.QueryRow(sqlstr, v0, v1, v2, v3, v4, v5, v6).Scan(&ret)
  	if err != nil {
  		return uint8(0), err
  	}
  
  	return ret, nil
  }
docs: // Bit calls the stored procedure 'pg_catalog.bit(bigint, integer, integer, integer, bit, integer, boolean) bit' on db.