import_csv (KirbyBase::KBTable)

    # File lib/kirbybase.rb, line 2774
        def import_csv(csv_filename)
            records_inserted = 0
            tbl_rec = @table_class.new(self)

            # read with FasterCSV if loaded, or the standard CSV otherwise

            (defined?(FasterCSV) ? FasterCSV : CSV).foreach(csv_filename
             ) do |row|
                tbl_rec.populate([nil] + row)
                insert(tbl_rec)
                records_inserted += 1
            end
            return records_inserted
        end