, , , .
:
- Couchbase
-
- .
, , , , , .
, , , , SQL-, "DELETE *" , - "match%".
, CouchBase N1QL ( nickle). JavaScript ( ), , python.
: b, META (b).id LIKE "%"
layer_name_prefix = cb_layer_key + "|" + "%"
query = ""
try:
query = N1QLQuery('DELETE from `test-feature` b where META(b).id LIKE $1', layer_name_prefix)
cb.n1ql_query(query).execute()
except CouchbaseError, e:
logger.exception(e)
: , "" / , "parent_id".
DELETE, type = 'Feature' parent_id = 8;
, , , CouchBase , / ( ).