Lines Matching full:column
123 _data = '._DATA_.' # this+column+this+rowid key contains table data
318 # checking sanity of the table and column names here on
323 for column in columns :
324 if contains_metastrings(column):
326 "bad column name: contains reserved metastrings")
333 # store the table's column info
403 # load the current column list
407 # create a hash table for fast lookups of column names in the
413 # create a new column list containing both the old and new
414 # column names
420 # store the table's new extended column list
443 # check the column names
482 using the keys+values from rowdict as the column values.
490 # check the validity of each column name
493 for column in rowdict.keys() :
494 if not self.__tablecolumns[table].count(column):
495 raise TableDBError, "unknown column: %r" % (column,)
502 for column, dataitem in rowdict.items():
504 self.db.put(_data_key(table, column, rowid), dataitem, txn=txn)
528 * conditions - a dictionary keyed on column names containing
531 * mappings - a dictionary keyed on column names containing a
533 returning the new string for that column.
544 for column in columns:
546 # modify the requested column
549 _data_key(table, column, rowid),
552 _data_key(table, column, rowid),
558 dataitem = mappings[column](dataitem)
561 _data_key(table, column, rowid),
582 * conditions - a dictionary keyed on column names containing
596 for column in columns:
599 self.db.delete(_data_key(table, column, rowid),
602 # XXXXXXX column may not exist, assume no error
625 Returns a list of row column->value mapping dictionaries.
627 * columns - a list of which column data to return. If
629 * conditions - a dictionary keyed on column names
653 * conditions is a dictionary keyed on column names
657 # check the validity of each column name
662 for column in (columns + conditions.keys()):
663 if not self.__tablecolumns[table].count(column):
664 raise TableDBError, "unknown column: %r" % (column,)
667 # column names containing the data for that row and column.
673 # column lookups
717 # Apply conditions to column data to find what we want
720 for column, condition in conditionlist:
722 searchkey = _search_col_data_key(table, column)
724 if column in columns:
742 matching_rowids[rowid][column] = data
760 # extract any remaining desired column data from the
764 for column in columns:
765 if column in rowdata:
768 rowdata[column] = self.db.get(
769 _data_key(table, column, rowid))
777 rowdata[column] = None
789 # delete the column list
794 # delete all keys containing this tables column and row info