DevLess uses a relational database as it's backing database and can expose as much as you want to clients. Controlling what a user is allowed to access or write can be done by using the rules engine. The same is true for manipulation of data before writing or after reading.
When creating fields in DevLess, you can chose what field type that field has. The field type is used for both determining efficient storing, as well as for validation. E.g. the
text, but is also validated.
DevLess field type
Shorter strings/text, e.g. names
Longer texts, e.g. comments or blog posts
Integers (whole numbers)
Password. Will be securely stored using a cryptographic hash. Validated to be text.
URLs. Will be validated as URLs.
Points in time.
Emails. Validated to be a valid email format
A reference to another table. At field creation, the referred field is specified. The reference is to the generated
Binary data, for example files and images.
When using the
reference field types, you are creating relations to some specific
row in another table. The table you refer to is specified at field creation. When inserting data in this field, you have to keep track of the
id of the row you want to refer to in the referred table.
Check out this video for a deeper dive into linking up data using relationships.