Sha256: bef33df9ad8e56de65d453a2e562ee40f27040f781343c898757a62271dd3bc2

Contents?: true

Size: 313 Bytes

Versions: 80

Compression:

Stored size: 313 Bytes

Contents

module Scrivito
module Backend

module ParentPathIndex
class << self

  include Backend::Index

  def id
    "ppath"
  end

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

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

end
end

end
end

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
scrivito_sdk-1.9.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.9.1.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.9.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.9.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.9.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.8.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.8.1.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.8.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.8.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.8.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.7.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.7.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.5 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.1.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.5.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.4.3 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.4 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.7.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.0 lib/scrivito/backend/parent_path_index.rb