user_guide:howto:polydb_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
user_guide:howto:polydb_tutorial [2020/09/01 13:46] – [Reading Data] paffenholzuser_guide:howto:polydb_tutorial [2020/09/01 13:47] – [Reading Data] paffenholz
Line 84: Line 84:
   * ''limit=>$n'': returns at most ''$n'' documents   * ''limit=>$n'': returns at most ''$n'' documents
  
-You can reset the cursor with<code>$cur->reset<code>if you want to iterate over the results again. +You can reset the cursor with<code>$cur->reset</code>if you want to iterate over the results again. 
  
-==== Access Credentials ==== 
- 
-There are two pairs of custom variables for access credentials: 
-  * ''$PolyDB::default::db_{user,pwd}'': For a user that has read access (usually set to ''polymake''/''database'' for all public collections). Set this to your private user if you have been granted access to private collections 
-  * ''$PolyDB::default::db_collection_admin_{user,pwd}'': For credentials with write access to collections. Note that the first pair is not checked for write access even if the user given there has write access. You must set this pair for write access.  
 ===== Inserting new Data ===== ===== Inserting new Data =====
  
  • user_guide/howto/polydb_tutorial.txt
  • Last modified: 2021/06/19 21:33
  • by schroeter