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.6.0.rc5 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.4.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.0.rc4 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.0.rc3 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.3 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.3.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.6.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.2.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.1.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.1.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.5.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.4.2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.4.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.4.1.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.4.0 lib/scrivito/backend/parent_path_index.rb