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
Magento Australia Post eParcel Extension 1.0
Airbnb Script - Airbnb Clone 1.0.3
Hotel Restaurant Reviews and Feedback Script 1.0.3
Documenter for MySQL 1.0
ODBC Driver for xBase 1.1
ODBC Driver for FreshBooks 2.0
AnyGantt JS Gantt Charts 8.4.2
The C# Barcode Library 4.0.2.2
ConyEdit for Windows 1.1.0
wolfSSL 3.15.5
Taxi Booking App Like Uber 1.0
IP2Location Geolocation Database 2018
Food Delivery Script 1.0.3
ODBC Driver for Magento 1.3
dbForge Studio for SQL Server 5.6
Top Code
Java-2-Pseudo 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
GnuWin64 64
MCU 8051 IDE 1.4.7
Food Delivery Script 1.0.3
Convert Arabic to Roman 1.0
VisitorsCafe Video Chat 1
PHP MLM Software 2.0.1
Bugs online II.14
CPP-2-HTML CSS Source Code Tagger 1.02
Fixed Point Radix-4 FFT 1.0
Tron 3 for Microsoft Windows 3.0
Job Portal Website - Vevs.com 1.0
symwire 1.0
Huffman Coding and Decoding for Text Compression 1.1
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
Accessing cursors by field name 
File ID: 64758






Accessing cursors by field name 
Download Accessing cursors by field name http://code.activestate.com/recipes/577186-accessing-cursors-by-field-name/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 4
Submit Rating:
Accessing cursors by field name  Description
Description: This class allows you to access the rows of a cursor by field name.

License: Freeware

Related: Cursor, Database, datastructures, Field, Name

O/S:Windows

Downloads: 4



More Similar Code

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.



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...



When you write a directory for a group of people, you want it grouped by last name initial and then sorted alphabetically. This recipe does just that; it creates a dictionary keyed by last name initial with a value of a tuple of names sorted in...



When you get a set of rows from a cursor.fetch[one, many, all] call, it is sometimes helpful to be able to access a specific column in a row by the field name and not the column number. This function takes a DB API 2.0 cursor object and returns a...



XMLBeans is a technology for accessing XML by binding it to Java types. XMLBeans provides several ways to get at the XML, including:

* Through XML schema that has been compiled to generate Java types that represent schema types. In...



Searches a string for field names contained in a given structure, then replaces each occurrence of the field name with the corresponding field value.

I use this for dynamically changing the titles on my plots during simulations that...



LazyDB extends the DB API to provide lazy connections (only
established when needed) and access to query results by column
name. A LazyDB connection can transparently replace any normal
DB API connection but is significantly more...



The code takes in a structure and a field name it is looking for. It will then recursively search through the structure for the given field name and add the value to a cell array of dimensions nxn1xn2... where n is the maximum number of records on...



PgProcedures defines the __call function to accept calls to PostgreSQL stored procedures by the name of function of the class that is called.

The function arguments are converted to parameters that get passed when the procedure is called.



Trackping Separator, by its name, is a WordPress Plugin that could separate trackbacks/pingbacks from user comments. Useful functions to list trackbacks are also provided.


installation :


1. Extract the zip into...

User Review for Accessing cursors by field name
- required fields
     

Please enter text on the image