Home
last modified time | relevance | path

Searched refs:primaryKeys (Results 1 – 25 of 122) sorted by relevance

12345

/dports/security/vuls/vuls-0.13.7/vendor/github.com/jinzhu/gorm/
H A Dcallback_query_preload.go138 primaryKeys := scope.getColumnAsArray(relation.AssociationForeignFieldNames, scope.Value)
139 if len(primaryKeys) == 0 {
147 ….Sprintf("%v IN (%v)", toQueryCondition(scope, relation.ForeignDBNames), toQueryMarks(primaryKeys))
148 values := toQueryValues(primaryKeys)
190 primaryKeys := scope.getColumnAsArray(relation.AssociationForeignFieldNames, scope.Value)
191 if len(primaryKeys) == 0 {
199 ….Sprintf("%v IN (%v)", toQueryCondition(scope, relation.ForeignDBNames), toQueryMarks(primaryKeys))
200 values := toQueryValues(primaryKeys)
246 primaryKeys := scope.getColumnAsArray(relation.ForeignFieldNames, scope.Value)
247 if len(primaryKeys) == 0 {
[all …]
H A Dassociation.go185 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, values...)
187 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
188 toQueryValues(primaryKeys)...,
202 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, scope.Value)
204 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
205 toQueryValues(primaryKeys)...,
274 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, scope.Value)
276 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
277 toQueryValues(primaryKeys)...,
280 primaryKeys := scope.getColumnAsArray(relationship.ForeignFieldNames, scope.Value)
[all …]
/dports/audio/gonic/gonic-0.8.4/vendor/github.com/jinzhu/gorm/
H A Dcallback_query_preload.go138 primaryKeys := scope.getColumnAsArray(relation.AssociationForeignFieldNames, scope.Value)
139 if len(primaryKeys) == 0 {
147 ….Sprintf("%v IN (%v)", toQueryCondition(scope, relation.ForeignDBNames), toQueryMarks(primaryKeys))
148 values := toQueryValues(primaryKeys)
190 primaryKeys := scope.getColumnAsArray(relation.AssociationForeignFieldNames, scope.Value)
191 if len(primaryKeys) == 0 {
199 ….Sprintf("%v IN (%v)", toQueryCondition(scope, relation.ForeignDBNames), toQueryMarks(primaryKeys))
200 values := toQueryValues(primaryKeys)
246 primaryKeys := scope.getColumnAsArray(relation.ForeignFieldNames, scope.Value)
247 if len(primaryKeys) == 0 {
[all …]
H A Dassociation.go185 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, values...)
187 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
188 toQueryValues(primaryKeys)...,
202 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, scope.Value)
204 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
205 toQueryValues(primaryKeys)...,
274 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, scope.Value)
276 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
277 toQueryValues(primaryKeys)...,
280 primaryKeys := scope.getColumnAsArray(relationship.ForeignFieldNames, scope.Value)
[all …]
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/vendor/github.com/jinzhu/gorm/
H A Dcallback_query_preload.go138 primaryKeys := scope.getColumnAsArray(relation.AssociationForeignFieldNames, scope.Value)
139 if len(primaryKeys) == 0 {
147 ….Sprintf("%v IN (%v)", toQueryCondition(scope, relation.ForeignDBNames), toQueryMarks(primaryKeys))
148 values := toQueryValues(primaryKeys)
190 primaryKeys := scope.getColumnAsArray(relation.AssociationForeignFieldNames, scope.Value)
191 if len(primaryKeys) == 0 {
199 ….Sprintf("%v IN (%v)", toQueryCondition(scope, relation.ForeignDBNames), toQueryMarks(primaryKeys))
200 values := toQueryValues(primaryKeys)
246 primaryKeys := scope.getColumnAsArray(relation.ForeignFieldNames, scope.Value)
247 if len(primaryKeys) == 0 {
[all …]
H A Dassociation.go185 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, values...)
187 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
188 toQueryValues(primaryKeys)...,
202 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, scope.Value)
204 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
205 toQueryValues(primaryKeys)...,
274 primaryKeys := scope.getColumnAsArray(relationship.AssociationForeignFieldNames, scope.Value)
276 …ntf("%v IN (%v)", toQueryCondition(scope, relationship.ForeignDBNames), toQueryMarks(primaryKeys)),
277 toQueryValues(primaryKeys)...,
280 primaryKeys := scope.getColumnAsArray(relationship.ForeignFieldNames, scope.Value)
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity.Design/System/Data/Entity/Design/
H A DEntityStoreSchemaGenerator.cs1115 primaryKeys, in CreateTableTypes()
1120 primaryKeys.Clear(); in CreateTableTypes()
1138 primaryKeys, in CreateTableTypes()
1148 ICollection<string> primaryKeys, in CreateEntityType() argument
1165 if (primaryKeys.Count == 0) in CreateEntityType()
1219 if (primaryKeys != null && excludedKeyColumns.Length < primaryKeys.Count) in CreateEntityType()
1221 primaryKeys = primaryKeys.Except(excludedKeyColumns).ToList(); in CreateEntityType()
1226 primaryKeys = null; in CreateEntityType()
1485 primaryKeys = pKeys; in InferKeyColumns()
1489 primaryKeys = null; in InferKeyColumns()
[all …]
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/
H A DDatabaseDriver.php346 $primaryKeys = $this->getTablePrimaryKeys($this->tables[$tableName]);
364 if ($primaryKeys && in_array($column->getName(), $primaryKeys)) {
373 if ($ids && count($primaryKeys) == 1) {
447 $primaryKeys = $this->getTablePrimaryKeys($this->tables[$tableName]);
464 if ($primaryKeys && in_array($localColumn, $primaryKeys)) {
476 if ( ! array_diff($fkColumns, $primaryKeys)) {
/dports/finance/prestashop/prestashop/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/
H A DDatabaseDriver.php349 $primaryKeys = $this->getTablePrimaryKeys($this->tables[$tableName]);
367 if ($primaryKeys && in_array($column->getName(), $primaryKeys)) {
376 if ($ids && count($primaryKeys) == 1) {
466 $primaryKeys = $this->getTablePrimaryKeys($this->tables[$tableName]);
483 if ($primaryKeys && in_array($localColumn, $primaryKeys)) {
495 if ( ! array_diff($fkColumns, $primaryKeys)) {
/dports/www/mediawiki137/mediawiki-1.37.1/tests/phpunit/includes/utils/
H A DBatchRowUpdateTest.php127 $message, array $columns, array $primaryKeys, array $fetchColumns argument
136 $reader = new BatchRowIterator( $db, 'some_table', $primaryKeys, 22 );
172 $message, $expectedSecondIteration, $primaryKeys, $batchSize = 3 argument
181 $reader = new BatchRowIterator( $db, 'some_table', $primaryKeys, $batchSize );
/dports/www/mediawiki136/mediawiki-1.36.3/tests/phpunit/includes/utils/
H A DBatchRowUpdateTest.php127 $message, array $columns, array $primaryKeys, array $fetchColumns argument
136 $reader = new BatchRowIterator( $db, 'some_table', $primaryKeys, 22 );
172 $message, $expectedSecondIteration, $primaryKeys, $batchSize = 3 argument
181 $reader = new BatchRowIterator( $db, 'some_table', $primaryKeys, $batchSize );
/dports/www/mediawiki135/mediawiki-1.35.5/tests/phpunit/includes/utils/
H A DBatchRowUpdateTest.php127 $message, array $columns, array $primaryKeys, array $fetchColumns argument
136 $reader = new BatchRowIterator( $db, 'some_table', $primaryKeys, 22 );
172 $message, $expectedSecondIteration, $primaryKeys, $batchSize = 3 argument
181 $reader = new BatchRowIterator( $db, 'some_table', $primaryKeys, $batchSize );
/dports/databases/hsqldb/hsqldb-2.3.4/hsqldb/src/org/hsqldb/rowio/
H A DRowOutputBase.java166 HashMappedList cols, int[] primaryKeys) { in writeData() argument
168 boolean hasPK = primaryKeys != null && primaryKeys.length != 0; in writeData()
169 int limit = hasPK ? primaryKeys.length in writeData()
173 int j = hasPK ? primaryKeys[i] in writeData()
/dports/www/phalcon4/cphalcon-4.1.1/ext/phalcon/mvc/model/metadata/strategy/
H A Dintrospection.zep.c137 …iner_sub, __$true, schema, table, readConnection, columns, attributes, primaryKeys, nonPrimaryKeys… in PHP_METHOD() local
148 ZVAL_UNDEF(&primaryKeys); in PHP_METHOD()
246 ZEPHIR_INIT_VAR(&primaryKeys); in PHP_METHOD()
247 array_init(&primaryKeys); in PHP_METHOD()
278 …zephir_array_append(&primaryKeys, &fieldName, PH_SEPARATE, "phalcon/Mvc/Model/MetaData/Strategy/In… in PHP_METHOD()
336 …zephir_array_append(&primaryKeys, &fieldName, PH_SEPARATE, "phalcon/Mvc/Model/MetaData/Strategy/In… in PHP_METHOD()
383 zephir_array_update_long(return_value, 1, &primaryKeys, PH_COPY ZEPHIR_DEBUG_PARAMS_DUMMY); in PHP_METHOD()
/dports/www/phalcon/cphalcon-3.4.5/ext/phalcon/mvc/model/metadata/strategy/
H A Dintrospection.zep.c47 … = NULL, *readConnection = NULL, *columns = NULL, *attributes = NULL, *primaryKeys = NULL, *nonPri… in PHP_METHOD() local
104 ZEPHIR_INIT_VAR(primaryKeys); in PHP_METHOD()
105 array_init(primaryKeys); in PHP_METHOD()
136 …zephir_array_append(&primaryKeys, fieldName, PH_SEPARATE, "phalcon/mvc/model/metadata/strategy/int… in PHP_METHOD()
179 zephir_array_update_long(&return_value, 1, &primaryKeys, PH_COPY ZEPHIR_DEBUG_PARAMS_DUMMY); in PHP_METHOD()
/dports/www/phalcon4/cphalcon-4.1.1/phalcon/Mvc/Model/MetaData/Strategy/
H A DIntrospection.zep66 var schema, table, readConnection, columns, attributes, primaryKeys,
119 let primaryKeys = [];
138 let primaryKeys[] = fieldName;
191 MetaData::MODELS_PRIMARY_KEY : primaryKeys,
/dports/www/webtrees20/webtrees-2.0.19/webtrees/vendor/io-developer/php-whois/src/Iodev/Whois/Modules/Tld/
H A DTldInfo.php123 $primaryKeys = ['domainName'];
133 return !$this->isEmpty($primaryKeys) && !$this->isEmpty($secondaryKeys);
H A DDomainInfo.php171 $primaryKeys = ['domainName'];
180 return !$this->isEmpty($primaryKeys) && !$this->isEmpty($secondaryKeys);
/dports/dns/blocky/blocky-0.17/vendor/gorm.io/gorm/schema/
H A Drelationship.go40 foreignKeys, primaryKeys []string member
65 primaryKeys: toColumns(field.TagSettings["REFERENCES"]),
213 if len(relation.primaryKeys) > 0 {
215 for _, foreignKey := range relation.primaryKeys {
419 if len(relation.primaryKeys) > 0 {
420 for _, primaryKey := range relation.primaryKeys {
453 } else if len(relation.primaryKeys) > 0 {
454 for idx, primaryKey := range relation.primaryKeys {
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/validator/
H A DsfValidatorDoctrineUnique.class.php153 $primaryKeys = Doctrine_Core::getTable($this->getOption('model'))->getIdentifier();
154 $this->setOption('primary_key', $primaryKeys);
/dports/www/phalcon/cphalcon-3.4.5/phalcon/mvc/model/metadata/strategy/
H A Dintrospection.zep43 primaryKeys, nonPrimaryKeys, completeTable, numericTyped, notNull,
95 let primaryKeys = [];
115 let primaryKeys[] = fieldName;
167 MetaData::MODELS_PRIMARY_KEY : primaryKeys,
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/libraries/classes/Controllers/Database/
H A DDataDictionaryController.php64 [, $primaryKeys] = Util::processIndexData(
112 'has_primary_key' => isset($primaryKeys[$row['Field']]),
/dports/www/groupoffice/groupoffice-6.4.231-php-71/go/core/orm/
H A DProperty.php97 private $primaryKeys = []; variable in go\\core\\orm\\Property
596 if(!isset($this->primaryKeys[$alias])) {
597 $this->primaryKeys[$alias] = [];
599 $this->primaryKeys[$alias][$col] = $value;
1525 $primaryKeys = $table->getPrimaryKey();
1526 if(empty($primaryKeys)) {
1530 foreach($primaryKeys as $pk) {
1531 if(empty($this->primaryKeys[$table->getAlias()][$pk])) {
1624 $this->primaryKeys[$table->getAlias()] = [];
1626 $this->primaryKeys[$table->getAlias()][$to] = $this->$from;
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/
H A DSQLiteConnection.cs1442 List<int> primaryKeys = new List<int>(); in Schema_Indexes()
1485 primaryKeys.Clear(); in Schema_Indexes()
1499 primaryKeys.Add(rdTable.GetInt32(0)); in Schema_Indexes()
1511 if (primaryKeys.Count == 1 && maybeRowId == true) in Schema_Indexes()
1528 primaryKeys.Clear(); in Schema_Indexes()
1576 if (primaryKeys.Contains(rdDetails.GetInt32(1)) == false) in Schema_Indexes()
1583 if (nMatches == primaryKeys.Count) in Schema_Indexes()
1586 primaryKeys.Clear(); in Schema_Indexes()
1903 primaryKeys.Clear(); in Schema_IndexColumns()
1927 if (primaryKeys.Count == 1 && maybeRowId == true) in Schema_IndexColumns()
[all …]
/dports/www/groupoffice/groupoffice-6.4.231-php-71/go/base/controller/
H A DAbstractMultiSelectModelController.php287 $primaryKeys = array(
291 $linkModel = \GO::getModel($this->linkModelName())->findByPk($primaryKeys);

12345