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.0.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-1.0.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.90.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.90.0.rc3 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.90.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.90.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.70.2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.71.2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.71.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.70.1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.71.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.71.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.71.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.70.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.70.0.rc3 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.70.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.70.0.rc1 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.66.0 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.66.0.rc2 lib/scrivito/backend/parent_path_index.rb
scrivito_sdk-0.66.0.rc1 lib/scrivito/backend/parent_path_index.rb