Home | Trees | Indices | Help |
|
---|
|
S3 Extensions for gluon.dal.Field, reusable fields
Requires: gluon
Copyright: 2009-2019 (c) Sahana Software Foundation
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Classes | |
FieldS3 S3 extensions of the gluon.sql.Field class |
|
S3ReusableField DRY Helper for reusable fields: |
|
S3Represent Scalable universal field representation for option fields and foreign keys. |
|
S3RepresentLazy Lazy Representation of a field value, utilizes the bulk-feature of S3Represent-style representation methods |
|
S3MetaFields Class to standardize meta-fields |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
s3uuid = SQLCustomType(type= "string", native= "VARCHAR(128)",
|
|
auth_group_represent = S3Represent(lookup= "auth_group", field
|
|
ALL_META_FIELD_NAMES = "uuid", "mci", "deleted", "deleted_fk",
|
Function Details |
Helper to attach a representation method to a Field.Method.
|
Shortcut commonly used in table definitions: *s3_meta_fields()
|
Shortcut commonly used to include/exclude meta fields
|
Role Required to access a resource - used by GIS for map layer permissions management |
List of Roles Permitted to access a resource - used by CMS |
Return a standard Comments field |
Return a standard Currency field To Do: Move to a Finance module? |
Return a standard Language field |
Return a standard date-field
Notes:
To Do: Different default field name in case we need to start supporting Oracle, where 'date' is a reserved word |
Return a standard datetime field
Notes:
To Do: Different default field name in case we need to start supporting Oracle, where 'date' is a reserved word |
Variables Details |
s3uuid
|
auth_group_represent
|
ALL_META_FIELD_NAMES
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 08:51:49 2019 | http://epydoc.sourceforge.net |