Sha256: 002c43efff1b0ae6de1bdd97b9faffa8248bb13ea2287056bd7a85b792173e53

Contents?: true

Size: 308 Bytes

Versions: 28

Compression:

Stored size: 308 Bytes

Contents

module Scrivito
module Backend

module ParentPathIndex
  extend Backend::Index

  def self.id
    "ppath"
  end

  def self.query(keys)
    [{ field: "_parent_path", operator: :equals, value: keys }]
  end

  def self.extract_update_value_from_data(data)
    ParentPath.of(data["_path"])
  end

end

end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
scrivito_sdk-1.11.0 app/cms/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.11.0.rc1 app/cms/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.10.0 app/cms/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.10.0.rc5 app/cms/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.10.0.rc4 app/cms/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.10.0.rc3 app/cms/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.10.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.10.0.rc1 lib/scrivito/backend/parent_path_index.rb