dose Ruby or ActiveRecord have the Java/JDBC equivalent for retrieving
ResultSet meta data…

PreparedStatement statement = null;
statement = connection.prepareStatement(“select * from some_table”);

ResultSet rs = null;
rs = statement.executeQuery();
ResultSetMetaData rsMetaData = rs.getMetaData();
int columnCount = rsMetaData.getColumnCount();

more stuff...

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs