code: public long insert(String table, Object record, int conflictAlgorithm) {
          table = formatName(table);
          final ContentValues contentValues = record instanceof ContentValues ? (ContentValues) record
                  : toContentValues(record, readOnlyPropNamesMap.get(record.getClass()), columnNamingPolicy, false);
  
          removeIdDefaultValue(contentValues);
  
          return sqliteDB.insertWithOnConflict(table, null, contentValues, conflictAlgorithm);
      }
docs: 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
  @param conflictAlgorithm
  @return
  
  @see com.landawn.abacus.util.Maps#entity2Map(Object, boolean, Collection, NamingPolicy)