Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
AnyChart JS Charts and Dashboards 8.4.2
OrgChart JS 3.8.0
dbForge Compare Bundle for MySQL 8.1
dbForge Search for SQL Server 2.3
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Top Code
PHP Point of sale 10.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Betting system 6.x-1.x-dev
Java-2-Pseudo 1.0
Faculty Evaluation System 1.1
TeeBI for RAD Studio Suite 2017
Cuckoo Search (CS) Algorithm 1.0
Student Information Management System 1.0
Java/RTR 1.0
JEDI Database Desktop 27012002
Mind Fighter 1.1
JAC (Java Asn.1 Compiler) 3.0
000-516 Free Test Exam Questions 10.0
ICDoctorAppointment - Doctor Appointment Script 1.2
CONTRAST CONTROLLER 1.0
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
MySQL and accessing database results by field 
File ID: 66647






MySQL and accessing database results by field 
Download MySQL and accessing database results by field http://code.activestate.com/recipes/171463-mysql-and-accessing-database-results-by-field/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 3
Submit Rating:
MySQL and accessing database results by field  Description
Description: Accessing database results by field name rather than field number is easy. I prefer standard, stable library like MySQLdb rather than private solutions. Look at the following code.

License: Freeware

Related: Database

O/S:Windows

Downloads: 3



More Similar Code

I created this class and related functions because I like accessing database results by field name rather than field number. Accessing by field number has many problems: code is less readable, code gets broken when field positions change or fields are added or deleted from the query, etc.

This class should have little overhead if you are already using fetchall().
It wraps each result row in a ResultRow class which allows you...



A PHP5 PDO based database manager designed to work with simple generic schemas and any database supported by the PHP PDO extensions from version 5.2.3 onwards. It relies heavily on clean XHTML, CSS and AJAX techniques using the jQuery javascript...



SynApp2 builds feature-packed web applications and versatile PDF reports for MySQL and Oracle Database. The SynApp2 web application generator and MVC framework is written in PHP and JavaScript.



DBConvert for Firebird and MySQL is a database migration tool which performs two-way conversion from Firebird databases to MySQL server and from MySQL to Firebird. The tool is also applicable for MySQL database migration to another MySQL database...



DBSync for Firebird and MySQL is a database synchronization tool which performs two-way conversion and synchronization from Firebird databases to MySQL server and from MySQL to Firebird. The tool is also applicable for MySQL database replication...



DBConvert for MySQL and DB2 is a database migration tool which performs two-way conversion from IBM DB2 to MySQL or from MySQL to IBM DB2. The tool is also applicable for MySQL database migration to another MySQL database and is quite adept at...



This class allows you to access the rows of a cursor by field name.



A php/mysql application that implements a conference proceedings and papers database and the tools to view and update it. Papers can be linked to more than one proceeding and can have multiple file attachments. Papers can be exported to BibTex or...



Formatting Database Results is an ASP based tutorial through which programmers can gather information about constructing the database table in HTML format with the help of codes and the procedure that the author offers them. Here author describes...



HOW TO: Read and Write BLOB Data by Using ADO.NET Through ASP.NET is an ASP.NET article in which the author concentrates on the procedure for reading and writing binary large object data to a SQL server with the help of Filestream object and byte...

User Review for MySQL and accessing database results by field
- required fields
     

Please enter text on the image