FLEXDatabaseManager.h 663 B

123456789101112131415161718192021222324252627
  1. //
  2. // PTDatabaseManager.h
  3. // Derived from:
  4. //
  5. // FMDatabase.h
  6. // FMDB( https://github.com/ccgus/fmdb )
  7. //
  8. // Created by Peng Tao on 15/11/23.
  9. //
  10. // Licensed to Flying Meat Inc. under one or more contributor license agreements.
  11. // See the LICENSE file distributed with this work for the terms under
  12. // which Flying Meat Inc. licenses this file to you.
  13. #import <Foundation/Foundation.h>
  14. @interface FLEXDatabaseManager : NSObject
  15. - (instancetype)initWithPath:(NSString*)aPath;
  16. - (BOOL)open;
  17. - (NSArray *)queryAllTables;
  18. - (NSArray *)queryAllColumnsWithTableName:(NSString *)tableName;
  19. - (NSArray *)queryAllDataWithTableName:(NSString *)tableName;
  20. @end