Returns the current node context. @return node set, or null if no database is opened
()
| 207 | * @return node set, or {@code null} if no database is opened |
| 208 | */ |
| 209 | public DBNodes current() { |
| 210 | if(data == null) return null; |
| 211 | if(current != null) return current; |
| 212 | return new DBNodes(data, true, data.resources.docs().toArray()); |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Sets the current node context. Discards the input if it contains all document |