Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我正在 Android 应用程序中尝试RushORM,但我不知道如何访问数据库中创建和更新的字段。rush_created 和 rush_updated 字段会自动创建并按预期填充。
但同样我不知道如何访问这些文件。即使在序列化数据库对象时,字段也丢失了。
那么有人知道如何访问它们吗?
我问开发商:
RushCore.getInstance().getMetaData(yourObject).getCreated(); 它返回更新并创建为 long,因此您只需使用该值创建一个新日期。
如果有人也需要这些价值观。