29 using System.Collections.Generic;
31 using System.Reflection;
32 using System.Threading;
35 using OpenSim.Framework;
36 using Mono.Data.Sqlite;
38 namespace OpenSim.Data.SQLite
48 : base(connectionString, realm,
"HGTravelStore") {}
62 return base.Get(
"UserID", userID.ToString());
67 return Delete(
"SessionID", sessionID.ToString());
72 using (SqliteCommand cmd =
new SqliteCommand())
74 cmd.CommandText = String.Format(
"delete from {0} where TMStamp < datetime('now', '-2 day') ", m_Realm);
HGTravelingData Get(UUID sessionID)
bool Delete(UUID sessionID)
A SQL Interface for user grid data
An interface for connecting to the user grid datastore
HGTravelingData[] GetSessions(UUID userID)
SQLiteHGTravelData(string connectionString, string realm)