Python Using Databases in Python Gettin' CRUD-y With It CRUD: Search Function

Emily Strobl
Emily Strobl
3,018 Points

Search Function

i'm still confused on how to use the search function.

crud.py
from models import Challenge


def create_challenge(name, language, steps=1):
    Challenge.create(name=name,
                     language=language,
                     steps=steps)

def search_challenges(name, language):