Docs for DAL.Table.import_from_csv_file
Description
<type 'instancemethod'>
|
Attributes
DAL.Table.import_from_csv_file.__call__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__call__(...) <==> x(...) |
DAL.Table.import_from_csv_file.__class__ |
<type 'type'> extends (<type 'object'>,)
belongs to class <type 'type'>
instancemethod(function, instance, class) Create an instance method object. |
DAL.Table.import_from_csv_file.__cmp__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__cmp__(y) <==> cmp(x,y) |
DAL.Table.import_from_csv_file.__delattr__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name |
DAL.Table.import_from_csv_file.__doc__ |
<type 'str'>
belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object. |
DAL.Table.import_from_csv_file.__format__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
default object formatter |
DAL.Table.import_from_csv_file.__func__ |
<type 'function'>
belongs to class <type 'function'>
Import records from csv file. Column headers must have same names as table fields. Field 'id' is ignored. If column names read 'table.file' the 'table.' prefix is ignored. - 'unique' argument is a field which must be unique (typically a uuid field) - 'restore' argument is default False; if set True will remove old values in table first. - 'id_map' if set to None will not map ids The import will keep the id numbers in the restored table. This assumes that there is an field of type id that is integer and in incrementing order. Will keep the id numbers in restored table. |
DAL.Table.import_from_csv_file.__get__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
descr.__get__(obj[, type]) -> value |
DAL.Table.import_from_csv_file.__getattribute__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name |
DAL.Table.import_from_csv_file.__hash__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__hash__() <==> hash(x) |
DAL.Table.import_from_csv_file.__init__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__init__(...) initializes x; see help(type(x)) for signature |
DAL.Table.import_from_csv_file.__new__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T |
DAL.Table.import_from_csv_file.__reduce__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
helper for pickle |
DAL.Table.import_from_csv_file.__reduce_ex__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
helper for pickle |
DAL.Table.import_from_csv_file.__repr__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x) |
DAL.Table.import_from_csv_file.__self__ |
<type 'NoneType'>
belongs to class <type 'NoneType'>
|
DAL.Table.import_from_csv_file.__setattr__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value |
DAL.Table.import_from_csv_file.__sizeof__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
__sizeof__() -> int size of object in memory, in bytes |
DAL.Table.import_from_csv_file.__str__ |
<type 'method-wrapper'>
belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x) |
DAL.Table.import_from_csv_file.__subclasshook__ |
<type 'builtin_function_or_method'>
belongs to class <type 'builtin_function_or_method'>
Abstract classes can override this to customize issubclass(). This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached). |
DAL.Table.import_from_csv_file.im_class |
<type 'type'> extends (<class 'pydal.helpers.classes.Serializable'>, <class 'pydal.helpers.classes.BasicStorage'>)
belongs to class <type 'type'>
Represents a database table Example:: You can create a table as:: db = DAL(...) db.define_table('users', Field('name')) And then:: db.users.insert(name='me') # print db.users._insert(...) to see SQL db.users.drop() |
DAL.Table.import_from_csv_file.im_func |
<type 'function'>
belongs to class <type 'function'>
Import records from csv file. Column headers must have same names as table fields. Field 'id' is ignored. If column names read 'table.file' the 'table.' prefix is ignored. - 'unique' argument is a field which must be unique (typically a uuid field) - 'restore' argument is default False; if set True will remove old values in table first. - 'id_map' if set to None will not map ids The import will keep the id numbers in the restored table. This assumes that there is an field of type id that is integer and in incrementing order. Will keep the id numbers in restored table. |
DAL.Table.import_from_csv_file.im_self |
<type 'NoneType'>
belongs to class <type 'NoneType'>
|