You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, i am new to using pyorient and trying to get list of databases and that has worked using client.db_list(). However, i am wondering how can i get list of databases 30 days and older?
This is my code so far :-
import pyorient
def list_orient_databases(name):
# Use a breakpoint in the code line below to debug your script.
print(f'{name}')
client = pyorient.OrientDB("10.191.6.48", 2323)
session_id = client.connect("user", "pass")
db_names = client.db_list().__getattr__('databases')
db_count = 0
for db_name in db_names:
print(db_name)
This prints out the list of databases, however how can i get databases created 30 days ago? Thank you
The text was updated successfully, but these errors were encountered:
Hey guys, i am new to using pyorient and trying to get list of databases and that has worked using
client.db_list().
However, i am wondering how can i get list of databases 30 days and older?This is my code so far :-
This prints out the list of databases, however how can i get databases created 30 days ago? Thank you
The text was updated successfully, but these errors were encountered: