Module ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Dict NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareGt Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr Num body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr orelse Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Dict Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A scope Scope SoftDeletingScope N/A Scope N/A N/A _extensions N/A force_delete restore with_trashed only_trashed apply N/A N/A self builder model N/A N/A N/A 
        Apply the scope to a given query builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder

        :param model: The model
        :type model: orator.orm.Model
         N/A N/A N/A builder where_null N/A N/A model get_qualified_deleted_at_column N/A N/A N/A self extend builder N/A extend N/A N/A self builder N/A N/A N/A 
        Extend the query builder with the needed functions.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A extension N/A self _extensions N/A N/A N/A N/A getattr self N/A _add_%s extension builder N/A N/A N/A builder on_delete N/A self _on_delete N/A _on_delete N/A N/A self builder N/A N/A N/A 
        The delete replacement function.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A column N/A N/A self _get_deleted_at_column builder N/A N/A N/A builder update N/A column N/A N/A N/A N/A builder get_model fresh_timestamp N/A _get_deleted_at_column N/A N/A self builder N/A N/A N/A 
        Get the "deleted at" column for the builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder

        :rtype: str
         N/A N/A N/A len N/A N/A N/A builder get_query joins 0 N/A N/A N/A N/A N/A N/A builder get_model get_qualified_deleted_at_column N/A N/A N/A N/A N/A N/A builder get_model get_deleted_at_column N/A _add_force_delete N/A N/A self builder N/A N/A N/A 
        Add the force delete extension to the builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A builder macro force_delete N/A self _force_delete N/A _force_delete N/A N/A self builder N/A N/A N/A 
        The forece delete extension.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A N/A N/A builder get_query delete N/A _add_restore N/A N/A self builder N/A N/A N/A 
        Add the restore extension to the builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A builder macro restore N/A self _restore N/A _restore N/A N/A self builder N/A N/A N/A 
        The restore extension.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A builder with_trashed N/A N/A N/A builder update N/A N/A N/A N/A N/A builder get_model get_deleted_at_column None N/A _add_with_trashed N/A N/A self builder N/A N/A N/A 
        Add the with-trashed extension to the builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A builder macro with_trashed N/A self _with_trashed N/A _with_trashed N/A N/A self builder N/A N/A N/A 
        The with-trashed extension.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A builder remove_global_scope self N/A builder N/A _add_only_trashed N/A N/A self builder N/A N/A N/A 
        Add the only-trashed extension to the builder.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A N/A N/A builder macro only_trashed N/A self _only_trashed N/A _only_trashed N/A N/A self builder N/A N/A N/A 
        The only-trashed extension.

        :param builder: The query builder
        :type builder: orator.orm.builder.Builder
         N/A model N/A N/A builder get_model N/A N/A N/A builder without_global_scope self N/A N/A N/A N/A N/A builder get_query where_not_null N/A N/A model get_qualified_deleted_at_column N/A builder N/A N/A