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
VB.Net PDF 4.4.7
SuiteCRM Survey Rocket Plugin 1.0
Airbnb Clone Script | Airbnb Clone 4.3.1
IP2Location Geolocation Database 2018
ODBC Driver for Salesforce 1.5
Rapid PHP 2018 15.0
Bytescout BarCode Generator SDK 4.70.0.981
Data Puppy Lite (32-bit) 1.0
ProZ clone script 1.0.3
VideoCap Live Streaming SDK ActiveX 8.5
Magento Web to Print 1.0
dbForge Data Compare for MySQL 5.4
dbForge Query Builder for MySQL 4.3
ODBC Driver for NetSuite 1.2
Rapid CSS 2018 15.0
Top Code
wfm2read.m 1.0
ArtificialNeuronalNetwork 1.00
WebKit2.NET 0.10
Online Food Ordeing System 1.0
MLM Software ONE 1.5.46
ExpressScheduler 1.0
Barcode ActiveX Control
MLM Binary Plan Software 1.0.2
Fractional-order differential order equation solver 1.0
EXE Stealth Protector 4.23
Data Generator Script 2.0
Kalman Filter Tutorial 1.0
ODAC 9.6
OpenELD 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Top Rated
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
Online Food Ordeing System 1.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
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