//
//  DatabaseManeger.h
//  AsReaderLR
//
//  Created by mac on 2017/12/21.
//  Copyright © 2017年 asterisk. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabaseQueue.h"
#import "FMDatabase.h"
#import "AsTagItem.h"
@interface DatabaseManeger : NSObject

+ (DatabaseManeger *)sharedDatabaseManeger;

- (FMDatabaseQueue *)getDatebaseQueue;

- (BOOL)updataOrAddAsTagItem:(AsTagItem *)asTagItem fmdb:(FMDatabase *)fmdb;

- (BOOL)deleteAllAsTagItemsFmdb:(FMDatabase *)fmdb;

- (NSArray *)getAllAsTagItemsfmdb:(FMDatabase *)fmdb;

- (BOOL)updataOrAddSql:(NSString *)sql fmdb:(FMDatabase *)fmdb;


@end
