How to find a specific database object by it's name using queries
DBclass is your database class and get is method you can use to query objects from the database. The query object is the name of the database variabe for your name, here "name" followed by "__" and a keyword, here I used exact which requires the name field and the string to the right to have the same value