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
Uber for Massage 2.0
Job Board Software 1.1
RentALL - Airbnb Clone | Built with ReactJS 2.6
VB.Net PDF 2020.6.0
Flowrigami 1.0.0
SentiVeillance SDK Trial 7.3.2020.03.02
Entity Developer 6.8
dbExpress driver for SQLite 4.2
dbForge SQL Complete 6.5
Advanced Amazon Clone App 2.0
Appjetty Delivery Date Manager 1.0.0
The C# Barcode Library 2020.5.0
Chowtro - Online Restaurant Food Ordering Software 1.0
Alvas.Audio.Core 2019.0
Sainsburys Script 1.3.2
Top Code
dbForge SQL Complete 4.8
dbExpress Driver for SQLite 3.9
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
Deals and Discounts Website Script 1.0.2
SentiVeillance SDK Trial 7.3.2020.03.02
Single Leg MLM 1.2.1
A beginner's guide to threading in C#
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
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
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: 5
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: 5



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



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



Aimed at archivists and other WordPress developers who use the names of individuals as page titles, this plugin sorts wp_list_pages-generated page lists by last name. More generally, the plugin can also be used to sort wp_list_pages-generated page...

User Review for Accessing cursors by field name
- required fields
     

Please enter text on the image