Advanced Usage
For those who want more control and advanced features, Effortless offers powerful capabilities. You should have a strong understanding of Python for this! Here's how to use Effortless with advanced features:
You'll Need These
Creating a Custom Database Instance
You can create a Effortless instances with custom directories and filenames.
Configuring the Database
You can further customize the database with a configuration:
Adding Entries
You can put pretty much anything in an entry, and Effortless will interperet structures like dates, lists, etc.
Complex Filtering
Use advanced filtering techniques with Fields to find specific entries. For example, to find anyone who knows Python and joined in Jan/Feb:
Batch Updates
You can update multiple entries that match a condition:
Erasing Multiple Entries
You can also erase
to remove multiple entries that
match a condition:
Custom conditions
You can write your own complex checks and use them in
Field.passes()
.
These advanced features allow you to create more complex database structures, perform intricate queries, and have finer control over your database configuration.