Geo-omics / mibios

MIT License
0 stars 1 forks source link

glamr.models.pg_class num_rows field type mismatch #38

Open robert102 opened 4 months ago

robert102 commented 4 months ago

A minor issue: pg_class.reltuples is of type real, so glamr.models.pg_class's num_rows attribute returns a float, even with the current IntegerField. Maybe we should implement a new Integerfield variant that runs int() internally. Currently DBInfoTable and estimate_row_totals() do a int().