code: func TsRank(db XODB, v0 pgtypes.Tsvector, v1 pgtypes.Tsquery, v2 []float32, v3 pgtypes.Tsvector, v4 pgtypes.Tsquery, v5 pgtypes.Tsvector, v6 pgtypes.Tsquery, v7 int, v8 []float32, v9 pgtypes.Tsvector, v10 pgtypes.Tsquery, v11 int) (float32, error) {
  	var err error
  
  	// sql query
  	const sqlstr = `SELECT pg_catalog.ts_rank($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)`
  
  	// run query
  	var ret float32
  	XOLog(sqlstr, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11)
  	err = db.QueryRow(sqlstr, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11).Scan(&ret)
  	if err != nil {
  		return 0.0, err
  	}
  
  	return ret, nil
  }
docs: // TsRank calls the stored procedure 'pg_catalog.ts_rank(tsvector, tsquery, real[], tsvector, tsquery, tsvector, tsquery, integer, real[], tsvector, tsquery, integer) real' on db.