Complete ExtensionQuery

This commit is contained in:
Syer10
2023-04-08 16:42:55 -04:00
parent a90e5d13ea
commit cf73804c71
4 changed files with 220 additions and 25 deletions

View File

@@ -38,7 +38,6 @@ import java.util.concurrent.CompletableFuture
/**
* TODO Queries
* - In list of keys
*
* TODO Mutations
* - Add/update meta
@@ -71,7 +70,7 @@ class MetaQuery {
override fun asCursor(type: MetaItem): Cursor {
val value = when (this) {
KEY -> type.key
VALUE -> type.key + "-" + type.value
VALUE -> type.key + "\\-" + type.value
}
return Cursor(value)
}