iprovider Module
This contains the class which allows dbsprockets to interface with any database.
Copyright © 2008 Christopher Perkins Original Version by Christopher Perkins 2008 Released under MIT license.
Create an entry of type entity with the given params.
Delete an entry of typeentity which matches the params.
Get a single entry of type entity which matches the params.
Get the default values for form filling based on the database schema.
Get all dropdown options for a given entity field.
| Arguments : |
|
|---|---|
| Returns : |
A list of tuples with (id, view_value) as items.
Get all entities available for this provider.
Get an entity with the given name.
Get a field with the given field name.
Get all of the fields for a given entity.
Get the single primary field for an entity
Get the fields in the entity which uniquely identifies a record.
Get all of the field names in an enity which are related to other entities.
Get the name of the field which first matches the possible colums
| Arguments : |
|
|---|
Determine if a field is nullable.
Determine if a field is related to a field in another entity.
Update an entry of type entity which matches the params.