![]() ![]() ![]() # Access a database using the URL of the database page or the inline block cv = client. For columns of type "Person", we expect a User instance, or a list of them, and for a "Relation" we expect a singular/list of instances of a subclass of Block. Some basic validation may be conducted, and it will be converted into the appropriate internal format. So if you have a column named "Estimated value", you can read and write it via myrowblock.estimated_value. The attribute name is a "slugified" version of the name of the column. Note: For convenience, we automatically map the database "columns" (aka properties), based on the schema defined in the Collection, into getter/setter attributes on the CollectionRowBlock instances.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |