public long insert(String table, Object record) {
        table = formatName(table);

        return insert(table, record, SQLiteDatabase.CONFLICT_NONE);
    }
public long insert ( String table , Object record ) { table = formatName ( table ) ; return insert ( table , record , SQLiteDatabase . CONFLICT_NONE ) ; }
Insert one record into database.
To exclude the some properties or default value, invoke {@code com.landawn.abacus.util.N#entity2Map(Object, boolean, Collection, NamingPolicy)}

@param table
@param record can be <code>Map</code> or <code>entity</code> with getter/setter methods
@return

@see com.landawn.abacus.util.Maps#entity2Map(Object, boolean, Collection, NamingPolicy)